Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2002 17:33:48 -0400
From:      Chris Ptacek <cptacek@sitaranetworks.com>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Cc:        "'cptacek@dsl-only.net'" <cptacek@dsl-only.net>
Subject:   prc-tools-2.2 on FreeBSD-4.7 build errors
Message-ID:  <31269226357BD211979E00A0C9866DAB02BB99ED@rios.sitaranetworks.com>

next in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31269226357BD211979E00A0C9866DAB02BB99ED>