From owner-freebsd-questions Wed Jan 17 11:48:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from arbornet.org (m-net.arbornet.org [209.142.209.161]) by hub.freebsd.org (Postfix) with ESMTP id 853DD37B400 for ; Wed, 17 Jan 2001 11:47:52 -0800 (PST) Received: (from franklin@localhost) by arbornet.org (8.10.2/8.10.2) id f0HJdGW10871; Wed, 17 Jan 2001 14:39:16 -0500 (EST) From: Frank Lynn Message-Id: <200101171939.f0HJdGW10871@arbornet.org> Subject: prc-tools build fails To: questions@freebsd.org Date: Wed, 17 Jan 2001 14:39:16 -0500 (EST) X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi... I'm not sure if this is a FreeBSD specific question, but I'm trying to build the latest prc-tools on 4.1-release and it's giving me grief. I'm using prc-tools-2.0.90 from the sourceforge repository, plus the sdk-3.5+update1 from Palm's site. After munging the sdk directories as described in the SDK docs, I'm following the build directions included with the prc-tools release pretty much verbatim. * After installing all of the patches and configuring, here's what happens when I do a 'make all-host' : gcc -c -g -O2 -I. -I../../../prc-tools-2.0.90/gdb/gdb -I../../../prc-tools-2.0.90/gdb/gdb/config -DHAVE_CONFIG_H -I../../../prc-tools-2.0.90/gdb/gdb/../include/opcode -I../../../prc-tools-2.0.90/gdb/gdb/../readline/.. -I../bfd -I../../../prc-tools-2.0.90/gdb/gdb/../bfd -I../../../prc-tools-2.0.90/gdb/gdb/../include -I../intl -I../../../prc-tools-2.0.90/gdb/gdb/../intl -I../../../prc-tools-2.0.90/gdb/gdb/tui -DUSE_INCLUDED_REGEX ../../../prc-tools-2.0.90/gdb/gdb/remote-palmos.c ../../../prc-tools-2.0.90/gdb/gdb/remote-palmos.c:36: wait.h: No such file or directory *** Error code 1 Stop in /home/root/palmdev/build/gdb/gdb. *** Error code 1 Stop in /home/root/palmdev/build/gdb. *** Error code 1 Stop in /home/root/palmdev/build. * So, a find for wait.h shows this: fugu2:/home/root/palmdev # find . -name wait.h -print ./binutils-2.9.1/include/wait.h ./gdb-5.0/gdb/vx-share/wait.h * I've tried both commenting out the #include, and linking the wait.h from the binutils directory into the gdb/gdb directory. Both have the same result--the make continues and finishes up its work in the gdb directory, then continues on and fails much later with the following messages: gcc -g -O2 -I../../prc-tools-2.0.90/tools/../binutils/include -I../binutils/bfd -I. -o pfdtime.o -c ../../prc-tools-2.0.90/tools/pfdtime.c ar cr libpfd.a pfd.o pfdheader.o pfdtime.o ranlib libpfd.a c++ -o build-prc -L../binutils/bfd -L../binutils/libiberty -lbfd -liberty -L. -lpfd -nodefaultlibs -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lm -lgcc -lc -lgcc /usr/lib/crt1.o: In function `_start': /usr/lib/crt1.o(.text+0x79): undefined reference to `main' *** Error code 1 Stop in /home/root/palmdev/build/tools. *** Error code 1 Stop in /home/root/palmdev/build. I'd really like to get this new version working, as it fixes a pretty serious problem in the 2.0 release. If anyone's got ideas, I'd love to hear them. Thanks very much, franklin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message