This was discussed sometime around Pi day. Look back into the archives
for a message from Sean Brook on March 14, 2004 which contains an
updated patch for w32api and read the surrounding discussion to find out
more.
-Alejandro
On Tue, 2004-03-23 at 12:17, Daniel Slater wrote:
> I am trying to build colinux and am getting the following error when building
> driver.o:
>
> ------------------------
>
> 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+0x43e2):alloc.c: undefined reference to
> `__imp__MmAllocatePagesForMdl@28'
> colinux/os/current/build/driver.o(.text+0x4539):alloc.c: undefined reference to
> `__imp__MmMapIoSpace@16'
> collect2: ld returned 1 exit status
> make: *** [colinux/os/current/build/driver.base.tmp] Error 1
>
> -------------------------
>
> When I ran dumpbin on libntoskrnl.a, I see that it exports
> _MmAllocatePagesForMdl@16 and
> _MmMapIoSpace@12
>
> Looking at the headers reveals that these are the symbols it should be looking
> for - i.e. MmMapIoSPace pushes 12 bytes of arguments and MmAllocatePagesForMdl
> pushed 16 bytes of arguments.
> Any ideas about why ld us becomming confused about these symbols?
>
> Note: I am trying to build snapshot colinux-20040321, but I have seen the same
> problem with snapshot colinux-20040313.
>
>
> =====
> Daniel R. Slater mailto:dan...@ya...
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> coLinux-devel mailing list
> coL...@li...
> https://lists.sourceforge.net/lists/listinfo/colinux-devel
>
|