On Apr 30, 2006, at 02:13 , Joerg Wunsch wrote:

As Rick Mann wrote:

On my new machine, one symbol is still missing: "_dcgettext". I'm
not sure where that's supposed to live.

/usr/bin/ld: Undefined symbols:
_dcgettext

If you compile with -g, the linker would tell you who caused the
undefined reference (file name + line number + maybe calling
function).

For me (FreeBSD 6.x), it appears that this symbol is never referenced
directly.  Instead, <libintl.h> inlines calls to dcgettext() into
calls to libintl_dcgettext(), and they are resolved to -lintl.

Hmm. Looks like the compiler line already has -g, but it's not outputting anything:

g++ -g -O2 -L/usr/local/avr/i686-apple-darwin8.6.1/avr/lib -lbfd - L/usr/local/avr/lib -o avarice crc16.o devdescr.o ioreg.o jtag2bp.o jtag2io.o jtag2misc.o jtag2prog.o jtag2run.o jtag2rw.o jtag2usb.o jtagbp.o jtaggeneric.o jtagio.o jtagmisc.o jtagprog.o jtagrun.o jtagrw.o main.o remote.o utils.o gnu_getopt.o gnu_getopt1.o -lbfd -liberty -liconv
/usr/bin/ld: Undefined symbols:
_dcgettext
collect2: ld returned 1 exit status

--
Rick



_______________________________________________
AVR-chat mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to