You are not logged in.

#1 2007-05-02 10:28:08

rivierrakid
Member
From: Newcastle, UK
Registered: 2006-06-28
Posts: 21

help needed to compile epson drivers

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

#2 2007-05-02 21:23:44

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: help needed to compile epson drivers

is there something wrong with gutenprint?
pacman -S gutenprint

http://www.linuxprinting.org/show_print … Photo_R300

Offline

#3 2007-05-02 23:37:41

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: help needed to compile epson drivers

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

Board footer

Powered by FluxBB