This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello, I have several binaries in a project, and most of the binaries compile. However, one binary fails with a whole series of the above error: g++ -L../lib -o dselect basecmds.o baselist.o basetop.o bindings.o curkeys .o main.o methkeys.o methlist.o method.o methparse.o pkgcmds.o pkgdepcon. o pkgdisplay.o pkginfo.o pkgkeys.o pkglist.o pkgsublist.o pkgtop.o helpms gs.o -lintl -liconv -lintl -ldpkg -lncurses -L../optlib -lopt ../lib/libdpkg.a(ehandle.o): In function `push_error_handler': /usr/src/debian-cygwin/dpkg.lappy/lib/ehandle.c:80: undefined reference to `_lib intl_gettext' ../lib/libdpkg.a(ehandle.o): In function `print_error_cleanup': /usr/src/debian-cygwin/dpkg.lappy/lib/ehandle.c:96: undefined reference to `_lib intl_gettext' ../lib/libdpkg.a(ehandle.o): In function `run_cleanups': /usr/src/debian-cygwin/dpkg.lappy/lib/ehandle.c:111: undefined reference to `_li bintl_gettext' ../lib/libdpkg.a(ehandle.o): In function `push_cleanup': /usr/src/debian-cygwin/dpkg.lappy/lib/ehandle.c:196: undefined reference to `_li bintl_gettext' ../lib/libdpkg.a(ehandle.o): In function `badusage': /usr/src/debian-cygwin/dpkg.lappy/lib/ehandle.c:265: undefined reference to `_li bintl_gettext' ../lib/libdpkg.a(ehandle.o):/usr/src/debian-cygwin/dpkg.lappy/lib/ehandle.c:271: more undefined references to `_libintl_gettext' follow Info: resolving _curscr by linking to __imp__curscr (auto-import) Info: resolving _stdscr by linking to __imp__stdscr (auto-import) Info: resolving _COLOR_PAIRS by linking to __imp__COLOR_PAIRS (auto-import) collect2: ld returned 1 exit status make: *** [dselect] Error 1 The one thing I have been able to isolate is, things that are linked using cc/gcc link fine, but those that try to link using g++/c++ fail. Mark.Paulus@WS117V6220509 /usr/src/debian-cygwin/dpkg.lappy/build/dselect $ g++ -print-search-dirs install: /usr/lib/gcc/i686-pc-cygwin/3.4.4/ programs: =/usr/lib/gcc/i686-pc-cygwin/3.4.4/:/usr/lib/gcc/i686-pc-cygwin/3.4.4/ :/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/3.4.4/:/usr/lib/gcc/i6 86-pc-cygwin/:/usr/libexec/gcc/i686-pc-cygwin/3.4.4/:/usr/libexec/gcc/i686-pc-cy gwin/:/usr/lib/gcc/i686-pc-cygwin/3.4.4/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/g cc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/i686-pc-cygwin/3.4.4/:/us r/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ libraries: =/usr/lib/gcc/i686-pc-cygwin/3.4.4/:/usr/lib/gcc/i686-pc-cygwin/3.4.4 /:/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/lib/i686-pc-cygwi n/3.4.4/:/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/lib/:/usr/ lib/gcc/i686-pc-cygwin/3.4.4/../../../i686-pc-cygwin/3.4.4/:/usr/lib/gcc/i686-pc -cygwin/3.4.4/../../../:/lib/i686-pc-cygwin/3.4.4/:/lib/:/usr/lib/i686-pc-cygwin /3.4.4/:/usr/lib/ Mark.Paulus@WS117V6220509 /usr/src/debian-cygwin/dpkg.lappy/build/dselect $ g++ -print-file-name=libintl.a /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libintl.a Mark.Paulus@WS117V6220509 /usr/src/debian-cygwin/dpkg.lappy/build/dselect $ c++ -print-file-name=libintl.a /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libintl.a Mark.Paulus@WS117V6220509 /usr/src/debian-cygwin/dpkg.lappy/build/dselect $ c++ --version c++ (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Attachment:
cygcheck.txt
Description: Text document
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |