Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006


Translation problems

I wrote a simple code in Linux compiler implementation c no problem, but in the translation being given under solaris :
Ld : fatal : Symbol referencing errors. No output written to a.out
Collect2 : ld returned 1 exit status

Gcc server.c solaris arise in the implementation of the above errors, in the compiler is not going to solaris under what parameters?


Thank you

Translation problems

FAQ Lane, the bar should be -lsocket

Translation problems

Thank you for reminding me upstairs, I could solve the problem
-lsocket -lresolv -lnsl Added three parameters can be, because I also used the gethostbyname, herror.man found the other two parameters of this function.



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com