Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
winsock linker error?

 
Post new topic   Reply to topic Printable version
 View previous topic  renaming urls using htaccess Post :: Post ANSI C: Returning struct variable on t...  View next topic  
Author Message
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Mon Nov 12, 2007 10:42 pm    Post subject: winsock linker error? Reply to topic Reply with quote

whenever i try to compile anything using sockets, i always get something like
[linker error] undefined reference to wsastartup@8

i dont speak compiler, whats going on, and how do i fix it?
_________________
SSC Distension Owner
SSCU Trench Wars Developer
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:40
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3614
Location: Las Vegas
Offline

PostPosted: Mon Nov 12, 2007 10:59 pm    Post subject: Reply to topic Reply with quote

Linker error means it could not combine all the defined functions with the raw code. It means that a header defined a function, it set it up to work with it, but now it needs to see the code that goes with it so it can link it into your executable.

Just include the library Ws2_32.dll in whatever way your compile method requires it.
Back to top
View users profile Send private message Add User to Ignore List Send email
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Tue Nov 13, 2007 1:43 am    Post subject: Reply to topic Reply with quote

turns out i dont have a bunch of libraries

where can i get a pack of stuff like that and comctl32.lib?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Bak
?ls -s
0 in


Age:24
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Tue Nov 13, 2007 1:45 am    Post subject: Reply to topic Reply with quote

from google
_________________
SubSpace Discretion: A Third Generation SubSpace Client
Back to top
View users profile Send private message Add User to Ignore List AIM Address
k0zy
Server Help Squatter


Gender:Gender:Male
Joined: Jan 11 2003
Posts: 571
Location: Germany
Offline

PostPosted: Tue Nov 13, 2007 2:23 pm    Post subject: Reply to topic Reply with quote

Cheese wrote:
turns out i dont have a bunch of libraries

where can i get a pack of stuff like that and comctl32.lib?


Download and install the Platform SDK.
_________________
It's a shark! Oh my god! Unbelievable!
Back to top
View users profile Send private message Add User to Ignore List
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Fri Nov 16, 2007 12:57 am    Post subject: Reply to topic Reply with quote

Bak wrote:
from google


if every response was like this, these forums would have died long ago
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Bak
?ls -s
0 in


Age:24
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Fri Nov 16, 2007 4:14 am    Post subject: Reply to topic Reply with quote

good luck googling why your lvz image isn't showing up. If you come to us with every compiler error you get you'll never get better icon_sad.gif
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Fri Nov 16, 2007 5:34 pm    Post subject: Reply to topic Reply with quote

true, but dont u think i would have checked other sources first? ;D
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:40
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3614
Location: Las Vegas
Offline

PostPosted: Fri Nov 16, 2007 9:08 pm    Post subject: Reply to topic Reply with quote

Cheese wrote:
true, but dont u think i would have checked other sources first? ;D
Your post's warning message wrote:
WARNING: Any attempt to respond to this message with anything resembling intelligence is futile.
Back to top
View users profile Send private message Add User to Ignore List Send email
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Fri Nov 16, 2007 9:54 pm    Post subject: Reply to topic Reply with quote

Quote:
WARNING: Any attempt to respond to this message with anything resembling intelligence is futile. -MGB's opinion
.

fixed
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Non-Subspace Related Coding All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 666 page(s) served in previous 5 minutes.

phpBB Created this page in 0.852566 seconds : 35 queries executed (95.2%): GZIP compression disabled