This appears to be an issue with not having libintl available on FreeBSD. I havn't tried these suggestions yet, but I thought I would pass them along. Is the libintl stuff available through a port?
- Chris Cut and Paste from another e-mail. ------------------------------------- > /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar > f2.c:1350: undefined reference to > `_nl_msg_cat_cntr' > /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar > f2.c:1350: undefined reference to > `dcgettext__' Perhaps this could be added to BUILDING.html, but really I think it is obvious. Because it is a generic problem and not specific to prc-tools, I would expect that you would get better answers on that FreeBSD mailing list than here. These *msg_cat* and *gettest* functions are all to do with internationalisation and NLS. So the quickest and nastiest way to avoid this is to decide you don't care about NLS and configure with --disable-nls. I do not know why configure thinks that your machine provides libintl but in fact it does not. It seems to me that this likely implies a faulty libintl installation on your machine. Or perhaps there is a problem with prc-tools's configuration scripts in this area. Perhaps someone on that FreeBSD mailing list can shed more light which you can report to us if it is relevant. Cut and Paste from another e-mail. ------------------------------------- This problem appears on Mac OS X as well. Disabling NLS through the autoconf script was always the way around this as you suggested. Interesting though that two BSD systems have the same problem, do you guys think this requires further investigation? -----Original Message----- From: Chris Ptacek [mailto:cptacek@;sitaranetworks.com] Sent: Thursday, October 17, 2002 2:34 PM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: prc-tools-2.2 on FreeBSD-4.7 build errors I have followed the build instructions http://prc-tools.sourceforge.net/install/BUILDING.html and am having problems getting prc-tools-2.2 to build. Has anyone else had any luck? I am using the tarballs specified in the instructions. I have tried switching between patch, gpatch, make, and gmake without luck. I am extracting to /usr/local/pilot ... I actually get 2 different errors depending on my configure call: with: ../prc-tools-2.2/configure --target=m68k-palmos --enable-languages=c,c++ --with-headers=`pwd`/empty --with-palmdev-prefix=/usr/local/pilot I get the following errors: ------------------------------ /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c:1350: undefined reference to `_nl_msg_cat_cntr' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c:1350: undefined reference to `dcgettext__' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c:1350: undefined reference to `_nl_msg_cat_cntr' ../binutils/bfd/libbfd.a(dwarf2.o): In function `parse_comp_unit': /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x15b1): undefined ref erence to `_nl_msg_cat_cntr' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x15cd): undefined ref erence to `dcgettext__' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x15da): undefined ref erence to `_nl_msg_cat_cntr' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x1609): undefined ref erence to `_nl_msg_cat_cntr' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x1625): undefined ref erence to `dcgettext__' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x1632): undefined ref erence to `_nl_msg_cat_cntr' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x16bc): undefined ref erence to `_nl_msg_cat_cntr' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x16d8): undefined ref erence to `dcgettext__' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x16e5): undefined ref erence to `_nl_msg_cat_cntr' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x171d): undefined ref erence to `_nl_msg_cat_cntr' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x1739): undefined ref erence to `dcgettext__' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x1746): undefined ref erence to `_nl_msg_cat_cntr' gmake[1]: *** [build-prc] Error 1 gmake[1]: Leaving directory `/usr/local/pilot/build/tools' gmake: *** [tools] Error 2 with: ../prc-tools-2.2/configure --enable-targets=m68k-palmos,arm-palmos --enable-languages=c,c++ --with-headers=`pwd`/empty --with-palmdev-prefix=/usr/local/pilot I get the following errors: --------------------------- rm -f bfd-tmp.h cp bfd-in3.h bfd-tmp.h /bin/sh ../../prc-tools-2.2/binutils/bfd/../move-if-change bfd-tmp.h bfd.h rm -f bfd-tmp.h touch stmp-bfd-h /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../prc-tools-2.2/binutils/bfd -I. -D_GNU_SOURCE -I. -I../../prc-tools-2.2/binutils/bfd -I../../prc-tools-2.2/binutils/bfd/../include -I../../prc-tools-2.2/binutils/bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c ../../prc-tools-2.2/binutils/bfd/archive.c gcc -DHAVE_CONFIG_H -I. -I../../prc-tools-2.2/binutils/bfd -I. -D_GNU_SOURCE -I. -I../../prc-tools-2.2/binutils/bfd -I../../prc-tools-2.2/binutils/bfd/../include -I../../prc-tools-2.2/binutils/bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c ../../prc-tools-2.2/binutils/bfd/archive.c -o archive.o In file included from ../../prc-tools-2.2/binutils/bfd/archive.c:131: ../../prc-tools-2.2/binutils/bfd/sysdep.h:135: libintl.h: No such file or directory gmake[3]: *** [archive.lo] Error 1 gmake[3]: Leaving directory `/usr/local/pilot/build/bfd' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/local/pilot/build/bfd' gmake[1]: *** [all-recursive-am] Error 2 gmake[1]: Leaving directory `/usr/local/pilot/build/bfd' gmake: *** [bfd] Error 2 Thanks, Chris To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message