avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-chat] Re: [AVaRICE-user] 2.4 build fails on Mac OS X 10.4.4?


From: Rick Mann
Subject: [avr-chat] Re: [AVaRICE-user] 2.4 build fails on Mac OS X 10.4.4?
Date: Sun, 30 Apr 2006 02:24:00 -0700


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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]