[ros-kernel] cross compilation+kernel debugger broken

Marc Schütz schuetzm at gmx.net
Mon Mar 15 16:11:23 CET 2004


Am Montag, 15. März 2004 15:57 schrieb art yerkes:
> On Mon, 15 Mar 2004 11:13:53 +0100
>
> > I am cross-compiling under linux. When I set KDBG:=1 in config, I get the
> > following error:
> >
> > (My w32api-version is 2.4)
>
> The toplevel makefile builds roscfg.h, which contains the KDBG define.  It
> seems like you could get this error by trying to rebuild only ntoskrnl.

ok, now I'm getting the this:

/usr/local/xmingw32/bin/mingw32-gcc \
        -Wl,-T,ntoskrnl.lnk \
        -nostartfiles \
        -nostdlib \
        -mdll \
        -o junk.tmp \
        -Wl,--subsystem,native \
        -Wl,--image-base,0xc0000000 \
        -Wl,--file-alignment,0x1000 \
        -Wl,--section-alignment,0x1000 \
        -Wl,--entry,_NtProcessStartup \
        -Wl,--base-file,base.tmp \
        ntoskrnl.o -lgcc \
        ../dk/w32/lib/string.a \
        ../dk/w32/lib/rosrtl.a \
        ../dk/nkm/lib/hal.a
ntoskrnl.o(.text+0x2b0f8): In function `js_compare_strings':
/reactos/reactos/lib/kjs/include/jsint.h:1699: undefined reference to 
`_imp____mb_cur_max'
ntoskrnl.o(.text+0x2b119):/reactos/reactos/lib/kjs/include/jsint.h:1699: 
undefined reference to `_imp____mb_cur_max'
ntoskrnl.o(.text+0x2b1c5):/reactos/reactos/lib/kjs/include/jsint.h:1699: 
undefined reference to `_imp____mb_cur_max'
ntoskrnl.o(.text+0x2b21d):/reactos/reactos/lib/kjs/include/jsint.h:1699: 
undefined reference to `_imp____mb_cur_max'
ntoskrnl.o(.text+0x2b23d):/reactos/reactos/lib/kjs/include/jsint.h:1699: 
undefined reference to `_imp____mb_cur_max'
ntoskrnl.o(.text+0x2b26d):/reactos/reactos/lib/kjs/include/jsint.h:1699: 
undefined reference to `_imp___pctype'
ntoskrnl.o(.text+0x2b27d):/reactos/reactos/lib/kjs/include/jsint.h:1699: 
undefined reference to `_imp___pctype'
ntoskrnl.o(.text+0x2b291):/reactos/reactos/lib/kjs/include/jsint.h:1699: 
undefined reference to `_imp___pctype'
ntoskrnl.o(.text+0x2b2e1):/reactos/reactos/lib/kjs/include/jsint.h:1699: 
undefined reference to `_imp___pctype'
ntoskrnl.o(.text+0x2b52d):/reactos/reactos/lib/kjs/include/jsint.h:1699: 
undefined reference to `_imp____mb_cur_max'
ntoskrnl.o(.text+0x2b599):/reactos/reactos/lib/kjs/include/jsint.h:1699: 
undefined reference to `_imp____mb_cur_max'
ntoskrnl.o(.text+0x2b5cb):/reactos/reactos/lib/kjs/include/jsint.h:1699: 
undefined reference to `_imp____mb_cur_max'
ntoskrnl.o(.text+0x2b685):/reactos/reactos/lib/kjs/include/jsint.h:1699: 
undefined reference to `_imp___pctype'
ntoskrnl.o(.text+0x2b699):/reactos/reactos/lib/kjs/include/jsint.h:1699: 
undefined reference to `_imp___pctype'
ntoskrnl.o(.text+0x2b6b9):/reactos/reactos/lib/kjs/include/jsint.h:1699: 
undefined reference to `_imp___pctype'
make: *** [ntoskrnl.nostrip.exe] Fehler 1




More information about the Ros-kernel mailing list