You are not logged in.
Pages: 1
Hi,
Im trying to compile drivers for an Epson Stylus Photo R300, the drivers are from http://avasys.jp/hp/menu000000500/hpg000000442.htm. I currently use guten-print drivers and theyve worked very well, until trying to print documents with transparency in kpdf and scribus.
The error I get from compiling is:
Making all in dtrfilter
make[2]: Entering directory `/home/ric/Desktop/rocklynn/pips-spr300_310-2.6.2/pips-spr300_310-2.6.2/dtrfilter'
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -o dtrfilter img.o pfpng.o main.o -ldl -lm ../lib/libdtr.a -lpthread -ldl
gcc -g -O2 -Wall -o dtrfilter img.o pfpng.o main.o -lm ../lib/libdtr.a -lpthread -ldl
../lib/libdtr.a(imgdetect_pips.o): In function `OutputMemAtBmp':
/home/kitayama/work/devel/current/pips-devel/pips-closed/src/imgdetect_pips.cc:46: undefined reference to `__builtin_new'
/home/kitayama/work/devel/current/pips-devel/pips-closed/src/imgdetect_pips.cc:95: undefined reference to `__builtin_delete'
/home/kitayama/work/devel/current/pips-devel/pips-closed/src/imgdetect_pips.cc:95: undefined reference to `__rethrow'
../lib/libdtr.a(imgdetect.o): In function `FUNC006::~FUNC006(void)':
/home/kitayama/work/devel/current/pips-devel/pips-closed/src/imgdetect.cc:128: undefined reference to `__builtin_delete'
collect2: ld returned 1 exit status
make[2]: *** [dtrfilter] Error 1
make[2]: Leaving directory `/home/ric/Desktop/rocklynn/pips-spr300_310-2.6.2/pips-spr300_310-2.6.2/dtrfilter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ric/Desktop/rocklynn/pips-spr300_310-2.6.2/pips-spr300_310-2.6.2'
make: *** [all-recursive-am] Error 2
I found this thread on avasys forums http://www.avasys.jp/cgi-bin/lx/bbs/en/ … 1;Code=325
which also gives a solution appending to a line in the makefile
LIBS = -lpthread -ldl
... to read ...
LIBS = -lpthread -ldl -lstdc++ -lstdc++-3-libc6.2-2-2.10.0
Your stcd++ libs may be different. I am running Debian Woody 3.1. Please check your stdc++ libs in /usr/lib/...
Ive checked /usr/lib, found the libraries, but dont know what to enter into the make file.
ta for any help.
Offline
is there something wrong with gutenprint?
pacman -S gutenprint
Offline
Just open the Makefile in a text editor, search for the line:
LIBS = -lpthread -ldl
replace it by:
LIBS = -lpthread -ldl -lstdc++ -lstdc++-3-libc6.2-2-2.10.0
save and recompile.
Offline
Pages: 1