[haiku] Howto Compile c++ program which makes use of Network Kit

  • From: Rohit Vaidya <rohitvvv@xxxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Mon, 29 Mar 2010 09:35:02 +0530

I have a C++ program which makes use the BNetAdress constructor.
Syntactically everything goes well. But I am getting a linker error to
BNetAddress(char const*,unsigned short).
The compilation statement goes as> g++ http.c -lnetwork.
The BeBook documentation says that it network kit is part of libnetapi.so
i even tried -libnetapi   , but thats not present.
I am using the nightly build over vbox.
gcc version is 2.95.3

-- 
Rohit Vaidya

Other related posts: