[Spread-users] [newbie] import problem with libtspread.lib on Win32

Ivo ivolucien at yahoo.com
Tue Sep 27 17:37:08 EDT 2005


Hi folks,

I'm just starting to explore Spread and while the VC++ project libtsp
seemed to work fine, when I attempt to link to libtspread.lib I get a
large number of errors. Any suggestions? I'm sure I'm missing
something simple.

One possible issue is that I building the project that uses Spread
with mingw gcc/g++/ld... Is there some way to build libtspread with
mingw? Like make arch-mingw? Or should that matter for this?

Here are some of the errors, one of each type, in order:

..\Spread\lib\libtspread.lib(.\Alarm.obj):D:\Projects\Spread:(.text[_Alarmp]+0x64):
variable '_iob' can't be auto-imported. Please read the documentation
for ld's --enable-auto-import for details.
..\Spread\lib\libtspread.lib(.\Alarm.obj):D:\Projects\Spread:(.text[_Alarm_set_output]+0x6):
variable '_iob' can't be auto-imported. Please read the documentation
for ld's --enable-auto-import for details.
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib"
/DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" '
unrecognized
..\Spread\lib\libtspread.lib(.\Sp.obj):D:\Projects\Spread:(.text[_sp_initialize_locks]+0x43):
undefined reference to `WSAStartup at 8'
..\Spread\lib\libtspread.lib(.\Sp.obj):D:\Projects\Spread:(.text[_SP_connect_timeout]+0xd2):
undefined reference to `gethostbyname at 4'
..\Spread\lib\libtspread.lib(.\Events.obj):D:\Projects\Spread:(.text[_E_handle_events]+0x36e):
undefined reference to `__WSAFDIsSet at 8'
nmth000000.o:: undefined reference to `_nm___iob'

There are over 100 undefined reference errors all told...

Thank you kindly,

Ivo


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the Spread-users mailing list