Sunday, July 6th 2008, 2:17pm UTC+1

You are not logged in.

  • Login
  • Register

1

Friday, March 28th 2008, 7:40am

Cannot link libQtNetwork libraries to my programs

Hi,

I am trying to compile an application but I get the following errors when linking:
/home/inigom/qtopia/qtopia/lib/libQtNetwork.so: undefined reference to `_freeifaddrs'
/home/inigom/qtopia/qtopia/lib/libQtNetwork.so: undefined reference to `_getifaddrs'

There are no other errors during compiling.

I have added QT += network to the .pro file so that it would use the network libraries but the problem persists.

The program compiles fine if I don't use the -embedded option but fails if I add it. (I must use that option)

Does anyone have any suggestion?
  • Go to the top of the page

Rate this thread