[Pyrex] Undefined references message when compiling

stephen at theboulets.net stephen at theboulets.net
Thu May 17 21:17:41 UTC 2007


> stephen at theboulets.net wrote:
>> error: option -c not recognized
>>
>>
> It goes after the build_ext:
>
> python setup.py build_ext --inplace -c mingw32
[snip]
> -------
> Lenard Lindstrom

Well, I get farther now. Is xosd or pyosd required for pyrex?

$ python setup.py build_ext --inplace -c mingw32
running build_ext
building 'pyrex_ex1' extension
writing build\temp.win32-2.5\Release\pyrex_ex1.def
c:\mingw\bin\gcc.exe -mno-cygwin -shared -s
build\temp.win32-2.5\Release\pyrex_ex1.o
build\temp.win32-2.5\Release\pyrex_ex1.def -Lc:\Python25\libs
-Lc:\Python25\PCBuild -lxosd -lpython25 -lmsvcr71 -o pyrex_ex1.pyd
c:\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe:
cannot find -lxosd
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

Stephen




More information about the Pyrex mailing list