Problem with new info.c in ntdll/tests

Paul Vriens paul.vriens at xs4all.nl
Thu Apr 7 03:29:43 CDT 2005


Hi,

I am busy generating some new tests for ntdll's *Information* calls. I
started with query.c and that was OK. I then thought info.c would be a
better name.

doing a make depend && make fails. In tried information.c and make depend
&& make fails again with:

make[3]: Entering directory
`/data/install/linux/wine-src/wine/dlls/ntdll/tests'
gcc -c -I. -I. -I../../../include -I../../../include    -D_REENTRANT -fPIC
-Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
-Wpointer-arith  -g -O2 -o information.o information.c
gcc -c -I. -I. -I../../../include -I../../../include    -D_REENTRANT -fPIC
-Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
-Wpointer-arith  -g -O2 -o testlist.o testlist.c
../../../tools/winegcc/winegcc -B../../../tools/winebuild -mconsole env.o
error.o generated.o information.o large_int.o path.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../../../libs
-lkernel32
testlist.o(.data.rel.ro+0x1c): In function `get_tls_data':
/data/install/linux/wine-src/wine/dlls/ntdll/tests/../../../include/wine/test.h:116:
undefined reference to `func_information'
collect2: ld returned 1 exit status
winegcc: gcc failed.
make[3]: *** [ntdll_test.exe.so] Error 2
make[3]: Leaving directory
`/data/install/linux/wine-src/wine/dlls/ntdll/tests'
make[2]: *** [tests] Error 2
make[2]: Leaving directory `/data/install/linux/wine-src/wine/dlls/ntdll'
make[1]: *** [ntdll] Error 2
make[1]: Leaving directory `/data/install/linux/wine-src/wine/dlls'
make: *** [dlls] Error 2

with info.c I see: undefined reference to `func_info'

If I rename the file back to query.c (and of course change the
Makefile.in) everything is fine again.

Any idea what's wrong?

Cheers,

Paul.




More information about the wine-devel mailing list