Installing print/pips-sc85_86s - Error with PThread

Hanno Becker 2B-Hanno at gmx.de
Tue Jan 4 04:45:21 PST 2005


Hello!

I've just bought a new printer, the Epson Stylus C86. I installed 
"apsfilter", ran the Setup script. I chose Epson and C80 Series and 
tried to print a testpage.
I got an error because of not having installed print/pips-sc85_86s. 
Trying to install this I get the following output:

gmake  all-recursive
gmake[1]: Entering directory `/usr/ports/print/pips-sc85_86s/work/pips-sc85_86s-2.6.2'
Making all in libltdl
gmake[2]: Entering directory `/usr/ports/print/pips-sc85_86s/work/pips-sc85_86s-2.6.2/libltdl'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/print/pips-sc85_86s/work/pips-sc85_86s-2.6.2/libltdl'
Making all in src
gmake[2]: Entering directory `/usr/ports/print/pips-sc85_86s/work/pips-sc85_86s-2.6.2/src'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/print/pips-sc85_86s/work/pips-sc85_86s-2.6.2/src'
Making all in dtrfilter
gmake[2]: Entering directory `/usr/ports/print/pips-sc85_86s/work/pips-sc85_86s-2.6.2/dtrfilter'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/print/pips-sc85_86s/work/pips-sc85_86s-2.6.2/dtrfilter'
Making all in ekpd
gmake[2]: Entering directory `/usr/ports/print/pips-sc85_86s/work/pips-sc85_86s-2.6.2/ekpd'
gmake[3]: Entering directory `/usr/ports/print/pips-sc85_86s/work/pips-sc85_86s-2.6.2/ekpd'
/bin/sh ../libtool --mode=link cc  -O -pipe -mcpu=pentiumpro -Wall  -L/usr/local/lib -lc_r -o ekpd  cbtd.o cbtd_comserv.o                                                           cbtd_datatrans.o cbtd_setup.o cbtd_signal.o cbtd_thread.o ../lib/libcbt.a 
cc -O -pipe -mcpu=pentiumpro -Wall -o ekpd cbtd.o cbtd_comserv.o cbtd_datatrans.o cbtd_setup.o cbtd_signal.o cbtd_thread.                                                          o  -L/usr/local/lib ../lib/libcbt.a
cbtd_comserv.o: In function `comserv_thread':
cbtd_comserv.o(.text+0x83): undefined reference to `pthread_cleanup_push'
cbtd_comserv.o(.text+0x34d): undefined reference to `pthread_cleanup_pop'
cbtd_datatrans.o: In function `datatrans_thread':
cbtd_datatrans.o(.text+0x33): undefined reference to `pthread_cleanup_push'
cbtd_datatrans.o(.text+0x150): undefined reference to `pthread_cleanup_pop'
cbtd_thread.o: In function `init_thread':
cbtd_thread.o(.text+0x32): undefined reference to `pthread_attr_init'
cbtd_thread.o(.text+0x47): undefined reference to `pthread_attr_setdetachstate'
cbtd_thread.o(.text+0x66): undefined reference to `pthread_create'
cbtd_thread.o: In function `delete_thread':
cbtd_thread.o(.text+0xce): undefined reference to `pthread_join'
cbtd_thread.o(.text+0xd8): undefined reference to `pthread_detach'
cbtd_thread.o: In function `cancel_thread':
cbtd_thread.o(.text+0xff): undefined reference to `pthread_cancel'
cbtd_thread.o: In function `wait_sysflags':
cbtd_thread.o(.text+0x639): undefined reference to `pthread_cond_timedwait'
../lib/libcbt.a(winfunc.o): In function `WaitForSingleObject':
/home/kitayama/work/devel/current/pips-devel/pips-closed/src/winfunc.c:300: undefined reference to `pthread_cond_timedwai                                                          t'
../lib/libcbt.a(winfunc.o): In function `CreateThread':
/home/kitayama/work/devel/current/pips-devel/pips-closed/src/winfunc.c:350: undefined reference to `pthread_attr_init'
/home/kitayama/work/devel/current/pips-devel/pips-closed/src/winfunc.c:351: undefined reference to `pthread_attr_setstack                                                          size'
/home/kitayama/work/devel/current/pips-devel/pips-closed/src/winfunc.c:352: undefined reference to `pthread_attr_setdetac                                                          hstate'
/home/kitayama/work/devel/current/pips-devel/pips-closed/src/winfunc.c:353: undefined reference to `pthread_create'
../lib/libcbt.a(winfunc.o): In function `TerminateThread':
/home/kitayama/work/devel/current/pips-devel/pips-closed/src/winfunc.c:377: undefined reference to `pthread_cancel'
../lib/libcbt.a(winfunc.o): In function `CloseHandle':
/home/kitayama/work/devel/current/pips-devel/pips-closed/src/winfunc.c:496: undefined reference to `pthread_cancel'
/home/kitayama/work/devel/current/pips-devel/pips-closed/src/winfunc.c:497: undefined reference to `pthread_join'
/home/kitayama/work/devel/current/pips-devel/pips-closed/src/winfunc.c:498: undefined reference to `pthread_detach'
../lib/libcbt.a(winfunc.o): In function `ExitThread':
/home/kitayama/work/devel/current/pips-devel/pips-closed/src/winfunc.c:514: undefined reference to `pthread_exit'
gmake[3]: *** [ekpd] Error 1
gmake[3]: Leaving directory `/usr/ports/print/pips-sc85_86s/work/pips-sc85_86s-2.6.2/ekpd'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/print/pips-sc85_86s/work/pips-sc85_86s-2.6.2/ekpd'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/print/pips-sc85_86s/work/pips-sc85_86s-2.6.2'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/print/pips-sc85_86s.


It looks like as if I have to change or add some options about PThread 
to the makefile, but I don't know where and what.
I've had a look at google, the handbook/manual but couldn't find 
anything helpful.

Thanks,
Hanno


More information about the freebsd-questions mailing list