[openbeosnetteam] Re: Big game hunting...

I'm about 75% of the way through updating the tree! Arggghhh.

OK, I'll email once I've done. I'm going to temporarily remove the debug
malloc code and see how we run without it.

It should be easy enough to add in.

david

----- Original Message -----
From: "Marcus Overhagen" <dos4gw@xxxxxx>
To: <openbeosnetteam@xxxxxxxxxxxxx>
Sent: Wednesday, March 20, 2002 1:51 PM
Subject: [openbeosnetteam] Re: Big game hunting...


> "David Reid" <dreid@xxxxxxxxxxxx> wrote:
>
> >Marcus, once I've committed can you try building again?
> I did a checkout to a new directory, and changed the top level makefile to
> build a kernel driver by enabling this ones:
> CFLAGS=-nostart -no-fpic -D_KERNEL_MODE
> LDFLAGS=-nostdlib /boot/develop/lib/x86/_KERNEL_
>
>
> Output is this:
>
> [...]
> for i in net_server arp ethernet ipv4 loop udp; do \
>         (cd $i && /bin/make installkernel) || exit 1; \
> done
> make[1]: Entering directory
`/boot/home/Develop/OpenBeOS/net_kit/source/server/net_server'
> if test -e socket.o; then rm *.o; fi
> for obj in socket.c sockbuf.c inpcb.c radix.c route.c mbuf.c if.c misc.c
cksum.c nhash.c pools.c in.c core.c ; do \
>








cc -nostart -no-fpic -D_KERNEL_MODE -D_NETWORK_STACK -I. -I.. -I../include -
c $obj;  \
> done
> cc -nostdlib /boot/develop/lib/x86/_KERNEL_ -o core socket.o sockbuf.o
inpcb.o radix.o route.o mbuf.o if.o misc.o cksum.o nhash.o pools.o in.o
> core.o
> cp core /boot/home/config/add-ons/kernel/network/core
> make[1]: Leaving directory
`/boot/home/Develop/OpenBeOS/net_kit/source/server/net_server'
> make[1]: Entering directory
`/boot/home/Develop/OpenBeOS/net_kit/source/server/arp'
>
cc -nostart -no-fpic -D_KERNEL_MODE -D_NETWORK_STACK -I. -I.. -I../include -
c arp.c
> cc -nostdlib /boot/develop/lib/x86/_KERNEL_ ../net_server/pools.o
../net_server/nhash.o ../net_server/misc.o -o arp arp.o
> cp arp /boot/home/config/add-ons/kernel/network/misc/arp
> make[1]: Leaving directory
`/boot/home/Develop/OpenBeOS/net_kit/source/server/arp'
> make[1]: Entering directory
`/boot/home/Develop/OpenBeOS/net_kit/source/server/ethernet'
>
cc -Wall -no-fpic -D_KERNEL_MODE -D_NETWORK_STACK -DUSE_DEBUG_MALLOC -I. -I.
. -I../include -c ethernet.c
> cc -nostdlib /boot/develop/lib/x86/_KERNEL_ ../net_server/misc.o
../net_server/area_malloc.o -o ethernet ethernet.o
> gcc: ../net_server/area_malloc.o: No such file or directory
> make[1]: *** [kernel] Error 1
> make[1]: Leaving directory
`/boot/home/Develop/OpenBeOS/net_kit/source/server/ethernet'
> make: *** [installkernel] Error 1
>
> looks like area_malloc.c (it exists) hat not been compiled when it .o file
is tried to be linked.
>
> regards
> Marcus
>
>


Other related posts: