[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tlf-devel] tlf and FreeBSD. . .
From: |
Joop Stakenborg |
Subject: |
Re: [Tlf-devel] tlf and FreeBSD. . . |
Date: |
Tue, 28 Oct 2003 20:19:21 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031026 Thunderbird/0.3 |
address@hidden wrote:
Hi Joop--
Here's the last part of the output after I made that change and tried to
'make' [it went much farther than the 'make' I tried with v0.9.3]:
main.o: In function `main':
/usr/home/jim/tlf-0.9.4/src/main.c(.text+0x96b): undefined reference to
`pthread_create'
/usr/home/jim/tlf-0.9.4/src/main.c(.text+0x9a2): undefined reference to
`pthread_create'
/usr/home/jim/tlf-0.9.4/src/main.c(.text+0x9d5): undefined reference to
`pthread_join'
/usr/home/jim/tlf-0.9.4/src/main.c(.text+0x9e2): undefined reference to
`pthread_join'
*** Error code 1
Stop in /usr/home/jim/tlf-0.9.4/src.
*** Error code 1
Stop in /usr/home/jim/tlf-0.9.4.
*** Error code 1
--
73, Jim n0oct
Here is a hack, it's not portable across plaforms (we should really use
$(PTHREAD_LIBS) instead of -lc_r), but I currenly don't have a better
solution. Edit src/Makefile.am and put a line like:
INCLUDES = $(PTHREAD_CFLAGS)
in the first line, and:
tlf_LDADD = -lc_r
in the last line.
Next, run aclocal, automake and do a:
./configure
make clean
make
Hope this helps,
Regards,
Joop
- Re: [Tlf-devel] tlf and FreeBSD. . .,
Joop Stakenborg <=