Re: (no subject)
Brought to you by:
aeb,
bencollins
From: Stefan R. <st...@s5...> - 2003-04-02 18:06:16
|
On 2 Apr, Pieter Willems wrote: > I am using KDevelop on a SuSE 8.1 prof. distribution. When I compile > this code I get the following compile error: > > main.o: In function `main': > /root/isotraffic/isotraffic/main.c:37: undefined reference to > `raw1394_new_handle' > /root/isotraffic/isotraffic/main.c:38: undefined reference to > `raw1394_get_port_info' > collect2: ld returned 1 exit status It is actually a linker error, that is, main.c has been compiled successfully but the linking of the object file with libraries did not resolve all functions you use. Look for the place where the libraries to link against are defined in the KDevelop IDE and add libraw1394 (or only the term raw1394, or -lraw1394 ... just as other libraries, I never used KDevelop myself). -- Stefan Richter -=====-=--== -=-- ---=- http://arcgraph.de/sr/ |