automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie: "undefined reference" error; cannot link to existing library


From: Alexandre Duret-Lutz
Subject: Re: Newbie: "undefined reference" error; cannot link to existing library
Date: Mon, 04 Feb 2002 09:54:58 +0100
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i386-debian-linux-gnu)

>>> "platter" == platter  <address@hidden> writes:

 platter> Hello all,

Hi,

 platter> Any help on this would be very much appreciated as I
 platter> am completely stuck.

I guess you will get more answers if you ask the libtool mailing
list instead.

[...]

 platter> address@hidden newsmdi]$ gcc -g -lsmdi -o test firsttest.c
 platter> /usr/local/lib/libsmdi.so: undefined reference to `pthread_create'
 platter> collect2: ld returned 1 exit status

Does the following works?
  libtool gcc -g -o test firsttest.c /usr/local/lib/libsmdi.la

[...]

-- 
Alexandre Duret-Lutz




reply via email to

[Prev in Thread] Current Thread [Next in Thread]