[PyPy-issue] [issue691] pypy-head does not compile under Windows

David Naylor pypy-dev-issue at codespeak.net
Mon May 2 14:11:54 CEST 2011


David Naylor <naylor.b.david at gmail.com> added the comment:

You appear right, the build process was not reliable under VirtualBox.  I got 
access to a native (reliable) Windows machine and got the following error:

gcc -shared -Wl,--export-dynamic,--version-script=..\\dynamic-symbols-3  -o 
libpypy-c.dll testing_1.o structimpl.o nonfuncnodes.o nonfuncnodes_1.o 
nonfuncnodes_2.o nonfuncnodes_3.o nonfuncnodes_4.o nonfuncnodes_5.o 
nonfuncnodes_6.o nonfuncnodes_7.o nonfuncnodes_8.o nonfuncnodes_9.o 
nonfuncnodes_10.o nonfuncnodes_11.o nonfuncnodes_12.o nonfuncnodes_13.o 
nonfuncnodes_14.o nonfuncnodes_15.o nonfuncnodes_16.o nonfuncnodes_17.o 
nonfuncnodes_18.o nonfuncnodes_19.o nonfuncnodes_20.o nonfuncnodes_21.o 
nonfuncnodes_22.o nonfuncnodes_23.o nonfuncnodes_24.o nonfuncnodes_25.o 
nonfuncnodes_26.o nonfuncnodes_27.o nonfuncnodes_28.o nonfuncnodes_29.o 
nonfuncnodes_30.o nonfuncnodes_31.o nonfuncnodes_32.o nonfuncnodes_33.o 
nonfuncnodes_34.o nonfuncnodes_35.o nonfuncnodes_36.o nonfuncnodes_37.o 
nonfuncnodes_38.o nonfuncnodes_39.o nonfuncnodes_40.o nonfuncnodes_41.o 
nonfuncnodes_42.o nonfuncnodes_43.o nonfuncnodes_44.o nonfuncnodes_45.o 
implement.o implement_1.o implement_2.o implement_3.o implement_4.o 
implement_5.o implement_6.o implement_7.o implement_8.o implement_9.o 
implement_10.o implement_11.o implement_12.o implement_13.o implement_14.o 
implement_15.o implement_16.o implement_17.o implement_18.o implement_19.o 
implement_20.o implement_21.o implement_22.o implement_23.o implement_24.o 
implement_25.o implement_26.o implement_27.o implement_28.o implement_29.o 
implement_30.o implement_31.o implement_32.o implement_33.o implement_34.o 
implement_35.o implement_36.o implement_37.o implement_38.o implement_39.o 
implement_40.o implement_41.o implement_42.o implement_43.o implement_44.o 
implement_45.o implement_46.o implement_47.o implement_48.o implement_49.o 
implement_50.o implement_51.o implement_52.o implement_53.o implement_54.o 
implement_55.o implement_56.o implement_57.o implement_58.o implement_59.o 
implement_60.o implement_61.o implement_62.o implement_63.o implement_64.o 
implement_65.o implement_66.o implement_67.o implement_68.o implement_69.o 
implement_70.o implement_71.o implement_72.o implement_73.o implement_74.o 
implement_75.o implement_76.o implement_77.o implement_78.o implement_79.o 
implement_80.o implement_81.o implement_82.o implement_83.o varargwrapper.o 
pyerrors.o modsupport.o getargs.o stringobject.o mysnprintf.o pythonrun.o 
sysmodule.o bufferobject.o object.o cobject.o structseq.o capsule.o pysignals.o 
profiling.o ll_math.o debug_print.o ../module_cache/module_4.o 
../module_cache/module_5.o ../module_cache/module_6.o ../module_cache/module_7.o 
../module_cache/module_8.o ../module_cache/module_9.o 
../module_cache/module_10.o ../module_cache/module_11.o 
../module_cache/module_12.o ../module_cache/module_13.o 
../module_cache/module_14.o ../module_cache/module_15.o 
../module_cache/module_16.o ../module_cache/module_17.o -
LC:\\cygwin\\home\\Nilesh\\libffi-3.0.8.tar.gz\\.libs -lkernel32 -lws2_32 -
lAdvapi32 -ladvapi32 -llibffi-5 
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: warning: -
-export-dynamic is not supported for PE targets, did you mean --export-all-
symbols?
implement_71.o:implement_71.c:(.text+0x9771): undefined reference to 
`getnameinfo'
implement_74.o:implement_74.c:(.text+0x76e4): undefined reference to 
`getaddrinfo'
implement_74.o:implement_74.c:(.text+0x7774): undefined reference to 
`freeaddrinfo'
collect2: ld returned 1 exit status
make: *** [libpypy-c.dll] Error 1

This looks like my (mingw32) build environment is broken?  A grep for 
getaddrinfo shows ws2_32.a under C:\MingW (but no ws2_32.dll?).

_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue691>
_______________________________________________________



More information about the Pypy-issue mailing list