Le jeu 07/04/2005 ŕ 04:29, Paul Vriens a écrit : > 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: > [snip] > 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'
Could it be that your START_TEST() is still using "query" instead of the current filename? > > If I rename the file back to query.c (and of course change the > Makefile.in) everything is fine again. Looks like the above problem to me. Vincent