[Bug 40317] PDF Eraser does not open with wine-mono

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 4 12:32:59 CDT 2016


https://bugs.winehq.org/show_bug.cgi?id=40317

--- Comment #20 from Olivier F. R. Dierick <o.dierick at piezo-forte.be> ---
I'm trying to compile wine-mono from git to version 4.6.2.

When running build-winemono.sh, it fails when compiling
mono/mono/metadata/socket-io.c.

---begin quote---
../../../mono/mono/metadata/socket-io.c:2612:2: error: implicit declaration of
function 'inet_pton' [-Werror=implicit-function-declaration]
---end quote---

in config.log I find this:

---begin quote---
...
configure:24423: checking for inet_pton
configure:24442: x86_64-w64-mingw32-gcc -static-libgcc -o conftest.exe -g -O2
-std=gnu99 -fno-strict-aliasing -fwrapv -DMONO_DLL_EXPORT
-Wno-unused-but-set-variable -g -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings -Wno-switch
-Wno-switch-enum -Wno-unused-value -Wno-attributes -mno-tls-direct-seg-refs
-gdwarf-2 -gstrict-dwarf -DWINVER=0x0600 -D_WIN32_WINNT=0x0600
-D_WIN32_IE=0x0501 -D_UNICODE -DUNICODE -DWIN32_THREADS -DFD_SETSIZE=1024 -g
-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
-Wwrite-strings -Wno-switch -Wno-switch-enum -Wno-unused-value -Wno-attributes 
-lmswsock -lws2_32 -lole32 -loleaut32 -lpsapi -lversion -ladvapi32 -lwinmm
-lkernel32 -liphlpapi conftest.c  -lws2_32 -lpsapi -lole32 -lwinmm -loleaut32
-ladvapi32 -lversion >&5
conftest.c:58:1: warning: function declaration isn't a prototype
[-Wstrict-prototypes]
conftest.c: In function 'main':
conftest.c:61:3: warning: implicit declaration of function 'inet_pton'
[-Wimplicit-function-declaration]
conftest.c:61:3: warning: nested extern declaration of 'inet_pton'
[-Wnested-externs]
configure:24442: $? = 0
configure:24445: result: yes
...
---end quote---

man inet_pton show the man page for inet_pton(3).

I'm on debian wheezy. What should I do?

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list