exception.o - Undefined reference to NtCurrentTeb in CVS?

Evil wine at eternaldusk.com
Mon Dec 26 17:32:22 CST 2005

I just got back from being on vacation for a week or so, and found I
can't compile the current CVS on either of my systems - even after
checking out everything from scratch and making clean.

Is anyone else having this problem, or is is specific to my machines? 

    ../../../tools/winegcc/winegcc -B../../../tools/winebuild -mconsole
    atom.o env.o error.o exception.o generated.o info.o large_int.o
    path.o om.o reg.o rtl.o rtlbitmap.o rtlstr.o string.o time.o
    testlist.o   -o ntdll_test.exe.so -L../../../libs/port -lwine_port
    -L../../../dlls -L../../../dlls/kernel32 -L../../../libs -lkernel32
    exception.o(.text+0x267): In function `test_prot_fault':
    /home/evil/install/wine/dlls/ntdll/tests/exception.c:202: undefined
    reference to `NtCurrentTeb'
    undefined reference to `NtCurrentTeb'
    undefined reference to `NtCurrentTeb'
    collect2: ld returned 1 exit status
    winegcc: gcc failed.
    make[3]: *** [ntdll_test.exe.so] Error 2

Thanks in advance,

More information about the wine-devel mailing list