[mnet-devel] Mnet build questions.
rob kinninmont
lists+mnet-devel at evilrob.com
Tue Jun 3 18:45:24 BST 2003
On Tuesday, June 3, 2003, at 09:43 AM, icepick at icepick.info wrote:
> /me hides in dark corner.
>
> Uhmm... yes, I did. This weekend's goal is now to upgrade Mnet to the
> latest
> pybsddb. Sorry for the pain
No sweat. I learned something about pybsddb3 in the process ;-) (and
that rpm still pisses me off...)
>>>> Your second problem is something that has been fixed in newer
>>>> versions of
>>>> mnet_new.
>>>
>>> Hmm. Do you know off-hand what/where the fix is? If it's a small
>>> fix, I'd probably like to apply it retroactively to my May12
>>> snapshot.
>>
>> Myers is responsible for this part, also. He and Arno worked for a
>> long time
>> to get the FEC code to build on w32, and now it does. Try something
>> like:
>>
>> cvs log `find . -iname '*fec*.py'` `find . -iname '*fec*.c'`
>
> It's a big fix actually. You might just want to steal fecmodule.c from
> head.
Hmm. I poked around in the cvs logs & I saw the stuff related to mmap
on windows. I figure that's the 'big fix' and I expect I'll be wanting
that ;-)
ne'ertheless, it does seem that my build problem lies elsewhere...
On Tuesday, June 3, 2003, at 09:46 AM, icepick at icepick.info wrote:
> The key here is to run "python setup.py build_ext -i -c mingw32"
>
> -c is for the compiler.
Thanks! That's a big help. I was in the process of trying to
handcraft a gcc invocation to get the job done. Whether I do that, or
do the -c thing though, I get errors about snprintf not being defined:
C:\mnet\mnet_new.HEAD>python setup.py build_ext -i -c mingw32
running build_ext
building 'mnetlib.filesystem.fec' extension
c:\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DGF_BITS=8
-DPYTHON_MODULE -DWIN32 -DGX -DCRYPTOPP_51 -IC:\Python22\include
-Ibuild\crypto51 -c mnetlib\filesystem\fec.c -o
build\temp.win32-2.2\Release\fec.o
mnetlib\filesystem\fec.c: In function `my_malloc':
mnetlib\filesystem\fec.c:239: warning: implicit declaration of function
`snprintf'
c:\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DGF_BITS=8
-DPYTHON_MODULE -DWIN32 -DGX -DCRYPTOPP_51 -IC:\Python22\include
-Ibuild\crypto51 -c mnetlib\filesystem\fecmodule.c -o
build\temp.win32-2.2\Release\fecmodule.o
writing build\temp.win32-2.2\Release\fec.def
c:\mingw\bin\gcc.exe -mno-cygwin -mdll -static -s
build\temp.win32-2.2\Release\fec.o
build\temp.win32-2.2\Release\fecmodule.o
build\temp.win32-2.2\Release\fec.def -LC:\Python22\libs
-Lbuild\crypto51 -lpython22 -lcryptopp -o mnetlib\filesystem\fec.pyd
build\temp.win32-2.2\Release\fec.o(.text+0x17f):mnetlib/filesystem/
fec.c: undefined reference to `snprintf'
build\temp.win32-2.2\Release\fec.o(.text+0x799):mnetlib/filesystem/
fec.c: undefined reference to `snprintf'
build\temp.win32-2.2\Release\fec.o(.text+0xa87):mnetlib/filesystem/
fec.c: undefined reference to `snprintf'
build\temp.win32-2.2\Release\fec.o(.text+0xb43):mnetlib/filesystem/
fec.c: undefined reference to `snprintf'
build\temp.win32-2.2\Release\fec.o(.text+0xd69):mnetlib/filesystem/
fec.c: undefined reference to `snprintf'
build\temp.win32-2.2\Release\fec.o(.text+0xdd5):mnetlib/filesystem/
fec.c: more undefined references to `snprintf' follow
error: command 'gcc' failed with exit status 1
cheers,
rob
-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
mnet-devel mailing list
mnet-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mnet-devel
More information about the Mnet-devel
mailing list