New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation error on GCC 4.1.1 [CORE1644] #824
Comments
Modified by: @dyemanovassignee: Alexander Peshkov [ alexpeshkoff ] |
Commented by: @AlexPeshkoff It's termcap/curses library problem on your system. Please, provie config log and exact command line which caused an error - I need to know what library was chosen at alt linux. |
Commented by: Igor Lobov (ivl) A have such rpm`s: libncursesw-5.6-alt2 with files /usr/bin/ncurses5-config /usr/lib/libform.so.5 |
Modified by: Igor Lobov (ivl)Attachment: config.log [ 10690 ] |
Commented by: Igor Lobov (ivl) The command which was mistaken: g++ -Wl,-rpath,/usr/local/firebird/lib -Wl,-rpath,/usr/local/firebird/intl ../temp/boot/isql/extract.o ../temp/boot/isql/isql.o ../temp/boot/isql/show.o ../temp/boot/isql/Extender.o ../temp/boot/common/classes/alloc.o ../temp/boot/common/classes/locks.o ../temp/boot/common/classes/fb_string.o ../temp/boot/common/classes/timestamp.o ../temp/boot/common/classes/TempFile.o ../temp/boot/common/classes/UserBlob.o ../temp/boot/common/classes/SafeArg.o ../temp/boot/common/classes/MsgPrint.o ../temp/boot/common/classes/BaseStream.o ../temp/boot/common/fb_exception.o ../temp/boot/common/classes/MetaName.o ../temp/boot/common/StatusHolder.o ../temp/boot/common/utils.o ../temp/boot/config/AdminException.o ../temp/boot/config/Args.o ../temp/boot/config/ArgsException.o ../temp/boot/config/ConfObj.o ../temp/boot/config/ConfObject.o ../temp/boot/config/ConfigFile.o ../temp/boot/config/Configuration.o ../temp/boot/config/DirectoryList.o ../temp/boot/config/Element.o ../temp/boot/config/FileName.o ../temp/boot/config/InputFile.o ../temp/boot/config/InputStream.o ../temp/boot/config/Lex.o ../temp/boot/config/ScanDir.o ../temp/boot/config/Stream.o ../temp/boot/config/StreamSegment.o ../temp/boot/vulcan/JString.o ../temp/boot/vulcan/PathName.o ../temp/boot/vulcan/RefObject.o -o ../gen/firebird/bin/isql_static -L../gen/firebird/lib -lfbstatic -lcurses -lm -lc -ldl -licuuc -licudata -licui18n ../gen/firebird/lib/libeditline.a |
Commented by: @AlexPeshkoff Igor, did you receive private mail from me? |
Commented by: @AlexPeshkoff Due to bug in AltLinux ld order of libraries in the command line happens to be important. I've changed it to make libeditline be the first. It does no harm in all other cases, but makes AltLinux happy. |
Modified by: @AlexPeshkoffstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 2.1 RC1 [ 10201 ] Fix Version: 2.0.4 [ 10211 ] |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Modified by: @pcisarWorkflow: jira [ 13630 ] => Firebird [ 14036 ] |
Modified by: @pavel-zotovQA Status: No test |
Modified by: @pavel-zotovstatus: Closed [ 6 ] => Closed [ 6 ] QA Status: No test => Cannot be tested |
Submitted by: Igor Lobov (ivl)
Attachments:
config.log
Compilation error on GCC 4.1.1 (ALT Linux Server 4.0)
../gen/firebird/lib/libeditline.a(term.o): In function `term_deletechars':
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:751: undefined reference to `tputs'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:742: undefined reference to `tgoto'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:742: undefined reference to `tputs'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:754: undefined reference to `tputs'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:747: undefined reference to `tputs'
../gen/firebird/lib/libeditline.a(term.o): In function `term_beep':
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:867: undefined reference to `tputs'
../gen/firebird/lib/libeditline.a(term.o): In function `term_clear_screen':
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:847: undefined reference to `tputs'
../gen/firebird/lib/libeditline.a(term.o):/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:849: more undefined references to `tputs' follow
../gen/firebird/lib/libeditline.a(term.o): In function `term_insertwrite':
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:783: undefined reference to `tgoto'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:783: undefined reference to `tputs'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:798: undefined reference to `tputs'
../gen/firebird/lib/libeditline.a(term.o): In function `term_move_to_char':
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:650: undefined reference to `tgoto'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:650: undefined reference to `tputs'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:614: undefined reference to `tgoto'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:614: undefined reference to `tputs'
../gen/firebird/lib/libeditline.a(term.o): In function `term_move_to_line':
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:561: undefined reference to `tgoto'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:561: undefined reference to `tputs'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:579: undefined reference to `tputs'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:574: undefined reference to `tgoto'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:574: undefined reference to `tputs'
../gen/firebird/lib/libeditline.a(term.o): In function `term_set':
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:925: undefined reference to `tgetent'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:943: undefined reference to `tgetflag'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:944: undefined reference to `tgetflag'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:946: undefined reference to `tgetflag'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:947: undefined reference to `tgetflag'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:949: undefined reference to `tgetflag'
../gen/firebird/lib/libeditline.a(term.o):/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:950: more undefined references to `tgetflag' follow
../gen/firebird/lib/libeditline.a(term.o): In function `term_set':
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:952: undefined reference to `tgetnum'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:953: undefined reference to `tgetnum'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:956: undefined reference to `tgetstr'
../gen/firebird/lib/libeditline.a(term.o): In function `term_echotc':
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:1597: undefined reference to `tputs'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:1545: undefined reference to `tgetstr'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:1681: undefined reference to `tgoto'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:1681: undefined reference to `tputs'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:1625: undefined reference to `tgoto'
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:1625: undefined reference to `tputs'
../gen/firebird/lib/libeditline.a(term.o): In function `term_insertwrite':
/usr/src/Firebird-2.1.0.16780-Beta2/extern/editline/src/term.c:800: undefined reference to `tputs'
collect2: ld returned 1 exit status
make[2]: *** [../gen/firebird/bin/isql_static] Error 1
make[1]: *** [isql_static] Error 2
make: *** [firebird] Error 2
The text was updated successfully, but these errors were encountered: