Код:
nm: d3drm.tmp.o: no symbols
./d3drm.spec:5: warning: kernel32.dll imported but no symbols used
gcc -MMD -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -fno-strict-aliasing -Wa,--execstack -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -fPIC -D__WINE__ -D_REENTRANT -o d3drm.spec.o d3drm.spec.c
gcc -shared -Wl,-Bsymbolic d3drm.spec.o d3drm_main.o -o libd3drm.so -L../../dlls -L../../library -lwine -L../../ole -lwine_uuid -lm
make[2]: Leaving directory `/home/sm/winex/winex/dlls/d3drm'
rm -f libd3drm.so && ln -s d3drm/libd3drm.so libd3drm.so
make[2]: Entering directory `/home/sm/winex/winex/dlls/dbghelp'
gcc -MMD -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -fno-strict-aliasing -Wa,--execstack -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -fPIC -D__WINE__ -D_REENTRANT -o coff.o coff.c
coff.c: In function ‘coff_process_info’:
coff.c:300: warning: implicit declaration of function ‘wine_dbgstr_longlong’
coff.c:300: warning: format ‘%s’ expects type ‘char *’, but argument 6 has type ‘int’
coff.c:345: warning: format ‘%s’ expects type ‘char *’, but argument 6 has type ‘int’
gcc -MMD -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -fno-strict-aliasing -Wa,--execstack -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -fPIC -D__WINE__ -D_REENTRANT -o dbghelp.o dbghelp.c
In file included from dbghelp.c:30:
stubs.h:21:7: warning: no newline at end of file
dbghelp.c: In function ‘validate_addr64’:
dbghelp.c:115: warning: implicit declaration of function ‘wine_dbgstr_longlong’
dbghelp.c:115: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’
dbghelp.c: In function ‘SymSetContext’:
dbghelp.c:483: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’
dbghelp.c:483: warning: format ‘%s’ expects type ‘char *’, but argument 6 has type ‘int’
dbghelp.c:483: warning: format ‘%s’ expects type ‘char *’, but argument 7 has type ‘int’
dbghelp.c: In function ‘SymRegisterCallback64’:
dbghelp.c:627: warning: format ‘%s’ expects type ‘char *’, but argument 7 has type ‘int’
dbghelp.c: In function ‘SymRegisterCallbackW64’:
dbghelp.c:639: warning: format ‘%s’ expects type ‘char *’, but argument 7 has type ‘int’
gcc -MMD -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -fno-strict-aliasing -Wa,--execstack -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -fPIC -D__WINE__ -D_REENTRANT -o dwarf.o dwarf.c
dwarf.c: In function ‘dwarf2_debug_traverse_ctx’:
dwarf.c:327: warning: implicit declaration of function ‘wine_dbg_sprintf’
dwarf.c:327: warning: return makes pointer from integer without a cast
dwarf.c: In function ‘dwarf2_debug_ctx’:
dwarf.c:333: warning: return makes pointer from integer without a cast
dwarf.c: In function ‘dwarf2_debug_di’:
dwarf.c:339: warning: return makes pointer from integer without a cast
gcc -MMD -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -fno-strict-aliasing -Wa,--execstack -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -fPIC -D__WINE__ -D_REENTRANT -o elf_module.o elf_module.c
elf_module.c: In function ‘elf_map_file’:
elf_module.c:263: error: ‘CP_UNIXCP’ undeclared (first use in this function)
elf_module.c:263: error: (Each undeclared identifier is reported only once
elf_module.c:263: error: for each function it appears in.)
elf_module.c: In function ‘elf_new_wine_thunks’:
elf_module.c:701: warning: implicit declaration of function ‘wine_dbgstr_longlong’
elf_module.c:701: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 7 has type ‘DWORD’
elf_module.c:701: warning: format ‘%s’ expects type ‘char *’, but argument 10 has type ‘int’
elf_module.c:701: warning: format ‘%s’ expects type ‘char *’, but argument 11 has type ‘int’
elf_module.c: In function ‘elf_check_debug_link’:
elf_module.c:867: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 6 has type ‘DWORD’
elf_module.c:867: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 7 has type ‘DWORD’
elf_module.c: In function ‘elf_locate_debug_link’:
elf_module.c:907: error: ‘CP_UNIXCP’ undeclared (first use in this function)
elf_module.c: In function ‘elf_load_file_from_path’:
elf_module.c:1291: error: ‘CP_UNIXCP’ undeclared (first use in this function)
elf_module.c:1305: warning: passing argument 1 of ‘elf_load_file’ makes pointer from integer without a cast
elf_module.c: In function ‘elf_load_file_from_dll_path’:
elf_module.c:1329: warning: implicit declaration of function ‘wine_dll_enum_load_path’
elf_module.c:1329: warning: assignment makes pointer from integer without a cast
elf_module.c:1334: error: ‘CP_UNIXCP’ undeclared (first use in this function)
elf_module.c:1343: warning: passing argument 1 of ‘elf_load_file’ makes pointer from integer without a cast
elf_module.c: In function ‘elf_search_and_load_file’:
elf_module.c:1376: warning: passing argument 1 of ‘elf_load_file_from_path’ makes integer from pointer without a cast
elf_module.c:1378: warning: passing argument 1 of ‘elf_load_file_from_path’ makes integer from pointer without a cast
elf_module.c:1379: warning: passing argument 1 of ‘elf_load_file_from_dll_path’ makes integer from pointer without a cast
elf_module.c: In function ‘elf_enum_modules_internal’:
elf_module.c:1420: error: ‘CP_UNIXCP’ undeclared (first use in this function)
make[2]: *** [elf_module.o] Ошибка 1
make[2]: Leaving directory `/home/sm/winex/winex/dlls/dbghelp'
make[1]: *** [dbghelp/libdbghelp.so] Ошибка 2
make[1]: Leaving directory `/home/sm/winex/winex/dlls'
make: *** [dlls] Ошибка 2
В системе уже установлен Wine 0.9.43
Конфигурация прошла нормально. Может это ошибка в коде?
Во вложении инфо о всех пакетах в системе(dpkg --get-selections), на всякий случай.