Window extension question

Alex Martelli aleaxit at yahoo.com
Sat Oct 28 06:32:39 EDT 2000


"Olivier Paquay" <awaken71 at yahoo.fr> wrote in message
news:39fa93df$0$4491$73bec57d at news.be.uu.net...
> Hi,
>
> I am trying to make a Windows DLL extension. The main C file was generated
> with SWIG. Everything compiles fine but i have a link problem
>
> Linking...
> ..\..\Python16\libs\python16.lib : fatal error LNK1106: invalid file or
disk
> full: cannot seek to 0x39b65ad1
> Error executing link.exe.
>
> I get this message under DevStudio. I tried compiling with a Makefile in
the
> way described in the Python Doc but i get the same message.

Looks like your python16.lib is damaged ("invalid file", as the
message says -- "disk full" seems unlikely to cause this).  Try
uninstalling Python 1.6, download and install 2.0, and rebuild
all of your extension, then it should work.


Alex






More information about the Python-list mailing list