Subject: Failed Build
To: None <port-sgimips@netbsd.org>
From: J Lachlan Kanaley <kanaley@student.usyd.edu.au>
List: port-sgimips
Date: 05/18/2004 12:25:41
Hello.
I am trying to cross build netbsd-current (downloaded 18 may 04) for
an indy 4600 on my p4-freebsd-5.2.1-release pc. I want current
because it has the console drivers so I don't have to use serial.
However, the build fails and my C is not good enough to track this
down. My guess is that the loader doesn't find the `util' library,
which doesn't seem to be built as part of the `compat' and is trying
to use the freebsd version? (which doesn't define getrawpartition).
in summary I'm lost and any help would be greatly appreciated.
- Lachlan
./build.sh -D distribution -R release -m sgimips -U release >& build.log
nk sgivol/sgivol
cc -O -I/usr/home/kanaley/indy/netbsd/src/src/tools/compat/obj
-I/usr/home/kanaley/indy/netbsd/src/src/tools/compat/obj/include
-I/usr/home/kanaley/indy/netbsd/src/src/tools/sgivol/../compat
-DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_NETBSD_SOURCE
-o sgivol sgivol.lo
-L/usr/home/kanaley/indy/netbsd/src/src/tools/compat/obj -lnbcompat
-lz -lutil
sgivol.lo: In function `main':
sgivol.lo(.text+0x27d): undefined reference to `getrawpartition'
*** Failed target: sgivol
*** Failed command: cc -O
-I/usr/home/kanaley/indy/netbsd/src/src/tools/compat/obj
-I/usr/home/kanaley/indy/netbsd/src/src/tools/compat/obj/include
-I/usr/home/kanaley/indy/netbsd/src/src/tools/sgivol/../compat
-DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_NETBSD_SOURCE -o
sgivol sgivol.lo
-L/usr/home/kanaley/indy/netbsd/src/src/tools/compat/obj -lnbcompat
-lz -lutil
*** Error code 1
Stop.
nbmake: stopped in
/usr/home/kanaley/indy/netbsd/src/src/tools/sgivol
--
James Lachlan Kanaley
phone: (02) 9517 3209
mobile: 0427 368 345
email: kanaley@student.usyd.edu.au
web: http://users.tpg.com.au/adslclfu