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

  • From: "Stephan Assmus" <superstippi@xxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Mon, 29 Mar 2010 10:28:39 +0200

Hi,

> 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.

This library has been renamed to libbnetapi.so on Haiku.

Best regards,
-Stephan

Other related posts: