From: Sean B. <sea...@so...> - 2004-03-14 07:26:54
|
Hi, Attempting to build the 20040313 snapshot. Using tool chain created from cobuild.sh the make fails with: i686-pc-cygwin-gcc colinux/common/common.o colinux/os/current/user/user.o colinux/os/current/user/conet-daemon/main.o colinux /os/current/user/conet-daemon/tap-win32.o colinux/user/user.a -o colinux/os/current/user/conet-daemon/colinux-net-daemon.exe -L/usr/src/colinux/cygwin/target/i686-pc-cygwin/lib/w32api -luser32 -lgdi32 -lkernel32 -lmxml i686-pc-cygwin-gcc -mpush-args -mno-accumulate-outgoing-args -Wno-trigraphs -O2 -fno-strict-aliasing -Wall -D__KERNEL__ -DCO _KERNEL -DCO_HOST_KERNEL -DWINVER=0x05000 -I. -I./../../linux/include -I/usr/src/colinux/cygwin/target/i686-pc-cygwin/include /w32api -c colinux/kernel/monitor.c -o colinux/kernel/monitor.o colinux/kernel/monitor.c: In function `colinux_init': colinux/kernel/monitor.c:140: error: `CO_VPTR_PSEUDO_RAM_PAGE_TABLES' undeclared (first use in this function) colinux/kernel/monitor.c:140: error: (Each undeclared identifier is reported only once colinux/kernel/monitor.c:140: error: for each function it appears in.) colinux/kernel/monitor.c:153: error: `CO_VPTR_PHYSICAL_TO_PSEUDO_PFN_MAP' undeclared (first use in this function) colinux/kernel/monitor.c:165: error: `CO_VPTR_SELF_MAP' undeclared (first use in this function) colinux/kernel/monitor.c:191: error: `CO_VPTR_PASSAGE_PAGE' undeclared (first use in this function) colinux/kernel/monitor.c: In function `co_monitor_iteration': colinux/kernel/monitor.c:408: error: structure has no member named `linuxvm_state' colinux/kernel/monitor.c:409: error: structure has no member named `linuxvm_state' colinux/kernel/monitor.c:410: error: structure has no member named `linuxvm_state' colinux/kernel/monitor.c:411: error: structure has no member named `linuxvm_state' colinux/kernel/monitor.c:412: error: structure has no member named `linuxvm_state' colinux/kernel/monitor.c:413: error: structure has no member named `linuxvm_state' colinux/kernel/monitor.c:414: error: structure has no member named `linuxvm_state' colinux/kernel/monitor.c: In function `alloc_pseudo_physical_memory': colinux/kernel/monitor.c:585: error: `CO_VPTR_PSEUDO_RAM_PAGE_TABLES' undeclared (first use in this function) colinux/kernel/monitor.c: In function `co_monitor_create': colinux/kernel/monitor.c:704: error: `CO_VPTR_PASSAGE_PAGE' undeclared (first use in this function) colinux/kernel/monitor.c: At top level: colinux/kernel/monitor.c:100: warning: `colinux_dump_page_at_address' defined but not used make: *** [colinux/kernel/monitor.o] Error 1 I have also created gentoo ebuilds for the toolchain as well as colinux. Using these builds the make fails with: i686-pc-cygwin-gcc -Wl,--base-file,colinux/os/current/build/driver.base.tmp \ -Wl,--entry,_DriverEntry@8 \ -nostartfiles -nostdlib \ -o junk.tmp colinux/os/current/build/driver.o -lntoskrnl -lhal -lgcc colinux/os/current/build/driver.o(.text+0x43f2):alloc.c: undefined reference to `__imp__MmAllocatePagesForMdl@28' colinux/os/current/build/driver.o(.text+0x44b9):alloc.c: undefined reference to `__imp__MmMapIoSpace@16' collect2: ld returned 1 exit status make: *** [colinux/os/current/build/driver.base.tmp] Error 1 With the environment created with cobuild.sh and my ebuilds I have been able to build all snapshots and releases up until this snapshot. Any ideas of what is happening? I think it may be possible that the tool chain needs to be updated in some way. I also think it may be to do with the linker but I have no idea and as far as I can tell it is finding the w32api libs ie notoskrnl. |