[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: wbemprox: Add a partial implementation of Win32_IP4RouteTable.
From: Alexandre Julliard <julliard () winehq ! org>
Date: 2017-01-31 18:50:39
Message-ID: 87wpdbhxmo.fsf () winehq ! org
[Download RAW message or body]
Hans Leidekker <hans@codeweavers.com> writes:
> Signed-off-by: Hans Leidekker <hans@codeweavers.com>
> ---
> dlls/wbemprox/builtin.c | 75 +++++++++++++++++++++++++++++++++++++++++++++
> dlls/wbemprox/tests/query.c | 63 +++++++++++++++++++++++++++++++++++++
> 2 files changed, 138 insertions(+)
This doesn't build on Mingw:
i686-w64-mingw32-gcc -c -o builtin.o ../../../wine/dlls/wbemprox/builtin.c -I. \
-I../../../wine/dlls/wbemprox \
-I../../include -I../../../wine/include -D__WINESRC__ -DUSE_WS_PREFIX -D_REENTRANT \
-Wall -pipe \
-fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
-Wignored-qualifiers \
-Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter \
-Wvla \
-Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf \
-fno-omit-frame-pointer \
-g -O2 -fno-diagnostics-show-caret -D_WIN32
In file included from ../../../wine/dlls/wbemprox/builtin.c:38:0:
../../../wine/include/ws2tcpip.h:176:104: warning: ‘struct timeval' declared inside \
parameter list will not be visible outside of this definition or \
declaration
../../../wine/include/ws2tcpip.h:178:107: warning: ‘struct timeval' declared inside \
parameter list will not be visible outside of this definition or \
declaration
../../../wine/dlls/wbemprox/builtin.c: In function ‘fill_ip4routetable':
../../../wine/dlls/wbemprox/builtin.c:2074:47: warning: implicit declaration of \
function ‘ntohl' [-Wimplicit-function-declaration]
../.././../obj-elf64/tools/winegcc/winegcc -o wbemprox.dll \
-B../.././../obj-elf64/tools/winebuild \
--sysroot=../.. -b i686-w64-mingw32 -fasynchronous-unwind-tables -shared \
../../../wine/dlls/wbemprox/wbemprox.spec \ builtin.o class.o main.o process.o \
qualifier.o query.o reg.o security.o service.o services.o \ table.o wbemlocator.o \
wql.tab.o wbemprox_r.res ../../dlls/winspool.drv/libwinspool.a \
../../dlls/version/libversion.a ../../dlls/iphlpapi/libiphlpapi.a \
../../dlls/dxgi/libdxgi.a \
../../dlls/oleaut32/liboleaut32.a ../../dlls/ole32/libole32.a \
../../dlls/advapi32/libadvapi32.a \
../../dlls/user32/libuser32.a ../../dlls/gdi32/libgdi32.a \
../../dlls/ws2_32/libws2_32.a \
../../dlls/rpcrt4/librpcrt4.a ../../libs/port/libwine_port.a -lwine
builtin.o: In function `fill_ip4routetable':
/home/julliard/wine/build/obj-pe32/dlls/wbemprox/../../../wine/dlls/wbemprox/builtin.c:2074: \
undefined reference to `ntohl'
/home/julliard/wine/build/obj-pe32/dlls/wbemprox/../../../wine/dlls/wbemprox/builtin.c:2076: \
undefined reference to `ntohl'
collect2: error: ld returned 1 exit status
winegcc: i686-w64-mingw32-gcc failed
Makefile:638: recipe for target 'wbemprox.dll' failed
--
Alexandre Julliard
julliard@winehq.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic