Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2001 14:39:16 -0500 (EST)
From:      Frank Lynn <franklin@arbornet.org>
To:        questions@freebsd.org
Subject:   prc-tools build fails
Message-ID:  <200101171939.f0HJdGW10871@arbornet.org>

next in thread | raw e-mail | index | archive | help
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




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