Forum Control






Lost Password?
No account yet? Register

Designed by:
osCommerce hosting Joomla Templates
Ecommerce web hosting
Locations of visitors to this page
FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
network bindings ... (1 viewing) (1) Guest
Porting
Go to bottom Post Reply Favoured: 0
TOPIC: network bindings ...
#125
Begasus (Admin)
Admin
Posts: 65
graph
User Offline Click here to see the profile of this user
network bindings ... 4 Months ago Karma: 3  
We all had our share of undefined references with gethostbyname, socket etc ...
Most of them are linked to the network bindings and can be found in network libraries.
Check the makefile files for "LIBS= "
If you use system headers you don't have to add anything there, if not add the "LDFLAG=-L<path_to_lib>" without the quotes in LIBS=
Then add the network libs for each system like:
BeOS R5: LIBS= -lnet -lsocket
ZETA/BeOS BONE: LIBS= -lbind -lsocket
Haiku: LIBS= -lnetwork

Hope this helps you out on getting nasty defines out of the way.
 
Report to moderator   Logged Logged  
 
It's nice to Be!

Belgium BeOS UserGroup
http://www.bebug.be
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop