LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 04-09-2011, 03:25 PM   #1
xcislav
LQ Newbie
 
Registered: Feb 2011
Posts: 18

Rep: Reputation: 0
Linux driver for a printer HP LJ 1020 (foo2zjs): problem during compilation (access).


[xsi@xcom foo2zjs]$ uname -r
2.6.35.11-83.fc14.x86_64

Code:
[xsi@xcom foo2zjs]$ make
#
# Dependencies...
#
# ... OK!
#
cc -O2 -Wall   -c -o foo2zjs.o foo2zjs.c
cc -O2 -Wall   -c -o jbig.o jbig.c
cc -O2 -Wall   -c -o jbig_ar.o jbig_ar.c
cc -O2 -Wall -o foo2zjs foo2zjs.o jbig.o jbig_ar.o
cc -O2 -Wall   -c -o zjsdecode.o zjsdecode.c
cc -O2 -Wall zjsdecode.o jbig.o jbig_ar.o -o zjsdecode
cc -O2 -Wall    arm2hpdl.c   -o arm2hpdl
cc -O2 -Wall   -c -o foo2hp.o foo2hp.c
# cc -O2 -Wall -o foo2hp foo2hp.o jbig.o jbig_ar.o /usr/local/lib/libdmalloc.a
cc -O2 -Wall -o foo2hp foo2hp.o jbig.o jbig_ar.o
cc -O2 -Wall   -c -o foo2xqx.o foo2xqx.c
cc -O2 -Wall -o foo2xqx foo2xqx.o jbig.o jbig_ar.o
cc -O2 -Wall   -c -o xqxdecode.o xqxdecode.c
cc -O2 -Wall xqxdecode.o jbig.o jbig_ar.o -o xqxdecode
cc -O2 -Wall   -c -o foo2lava.o foo2lava.c
cc -O2 -Wall -o foo2lava foo2lava.o jbig.o jbig_ar.o
cc -O2 -Wall   -c -o lavadecode.o lavadecode.c
cc -O2 -Wall lavadecode.o jbig.o jbig_ar.o -o lavadecode
cc -O2 -Wall   -c -o foo2qpdl.o foo2qpdl.c
cc -O2 -Wall -o foo2qpdl foo2qpdl.o jbig.o jbig_ar.o
cc -O2 -Wall   -c -o qpdldecode.o qpdldecode.c
cc -O2 -Wall qpdldecode.o jbig.o jbig_ar.o -o qpdldecode
cc -O2 -Wall   -c -o opldecode.o opldecode.c
cc -O2 -Wall -g opldecode.o jbig.o jbig_ar.o -o opldecode
cc -O2 -Wall   -c -o foo2oak.o foo2oak.c
cc -O2 -Wall -o foo2oak foo2oak.o jbig.o jbig_ar.o
cc -O2 -Wall   -c -o oakdecode.o oakdecode.c
cc -O2 -Wall -g oakdecode.o jbig.o jbig_ar.o -o oakdecode
cc -O2 -Wall   -c -o foo2slx.o foo2slx.c
cc -O2 -Wall -o foo2slx foo2slx.o jbig.o jbig_ar.o
cc -O2 -Wall   -c -o slxdecode.o slxdecode.c
cc -O2 -Wall slxdecode.o jbig.o jbig_ar.o -o slxdecode
cc -O2 -Wall   -c -o foo2hiperc.o foo2hiperc.c
cc -O2 -Wall -o foo2hiperc foo2hiperc.o jbig.o jbig_ar.o
cc -O2 -Wall   -c -o hipercdecode.o hipercdecode.c
cc -O2 -Wall hipercdecode.o jbig.o jbig_ar.o -o hipercdecode
cc -O2 -Wall   -c -o gipddecode.o gipddecode.c
cc -O2 -Wall gipddecode.o jbig.o jbig_ar.o -o gipddecode
cc -O2 -Wall    usb_printerid.c   -o usb_printerid
[ ! -f foo2zjs-wrapper ] || chmod +w foo2zjs-wrapper
sed < foo2zjs-wrapper.in > foo2zjs-wrapper \
    -e 's@^PREFIX=.*@PREFIX=/usr@' || (rm -f foo2zjs-wrapper && exit 1)
chmod 555 foo2zjs-wrapper
[ ! -f foo2oak-wrapper ] || chmod +w foo2oak-wrapper
sed < foo2oak-wrapper.in > foo2oak-wrapper \
    -e 's@^PREFIX=.*@PREFIX=/usr@' || (rm -f foo2oak-wrapper && exit 1)
chmod 555 foo2oak-wrapper
[ ! -f foo2hp2600-wrapper ] || chmod +w foo2hp2600-wrapper
sed < foo2hp2600-wrapper.in > foo2hp2600-wrapper \
    -e 's@^PREFIX=.*@PREFIX=/usr@' || (rm -f foo2hp2600-wrapper && exit 1)
chmod 555 foo2hp2600-wrapper
[ ! -f foo2xqx-wrapper ] || chmod +w foo2xqx-wrapper
sed < foo2xqx-wrapper.in > foo2xqx-wrapper \
    -e 's@^PREFIX=.*@PREFIX=/usr@' || (rm -f foo2xqx-wrapper && exit 1)
chmod 555 foo2xqx-wrapper
[ ! -f foo2lava-wrapper ] || chmod +w foo2lava-wrapper
sed < foo2lava-wrapper.in > foo2lava-wrapper \
    -e 's@^PREFIX=.*@PREFIX=/usr@' || (rm -f foo2lava-wrapper && exit 1)
chmod 555 foo2lava-wrapper
[ ! -f foo2qpdl-wrapper ] || chmod +w foo2qpdl-wrapper
sed < foo2qpdl-wrapper.in > foo2qpdl-wrapper \
    -e 's@^PREFIX=.*@PREFIX=/usr@' || (rm -f foo2qpdl-wrapper && exit 1)
chmod 555 foo2qpdl-wrapper
[ ! -f foo2slx-wrapper ] || chmod +w foo2slx-wrapper
sed < foo2slx-wrapper.in > foo2slx-wrapper \
    -e 's@^PREFIX=.*@PREFIX=/usr@' || (rm -f foo2slx-wrapper && exit 1)
chmod 555 foo2slx-wrapper
[ ! -f foo2hiperc-wrapper ] || chmod +w foo2hiperc-wrapper
sed < foo2hiperc-wrapper.in > foo2hiperc-wrapper \
    -e 's@^PREFIX=.*@PREFIX=/usr@' || (rm -f foo2hiperc-wrapper && exit 1)
chmod 555 foo2hiperc-wrapper
cat foo2zjs-pstops.sh >foo2zjs-pstops 
chmod a+x foo2zjs-pstops
cat printer-profile.sh >printer-profile 
chmod a+x printer-profile
[ ! -f getweb ] || chmod +w getweb
sed < getweb.in > getweb \
    -e "s@\${URLZJS}@http://foo2zjs.rkkda.com@" \
    -e 's@^PREFIX=.*@PREFIX=/usr@' || (rm -f getweb && exit 1)
chmod 555 getweb
cd icc2ps; make all
make[1]: Entering directory `/media/4/foo2/foo2zjs/icc2ps'
cc -O3 icc2ps.c xgetopt.c cmscam97.c cmscnvrt.c cmserr.c cmsgamma.c cmsgmt.c cmsintrp.c cmsio1.c cmslut.c cmsmatsh.c cmsmtrx.c cmsnamed.c cmspack.c cmspcs.c cmsps2.c cmssamp.c cmswtpnt.c cmsxform.c cmsio0.c cmsvirt.c -lm -o foo2zjs-icc2ps
rm -f foo2zjs-icc2ps.1
MODver=; \
../includer-man -v DEF1= foo2zjs-icc2ps.1in | sed > foo2zjs-icc2ps.1 \
    -e "s@\${URLOAK}@@" \
    -e "s@\${URLZJS}@@" \
    -e "s@\${URLHP}@@" \
    -e "s@\${URLXQX}@@" \
    -e "s@\${URLLAVA}@@" \
    -e "s@\${URLQPDL}@@" \
    -e "s@\${URLSLX}@@" \
    -e "s@\${URLHC}@@" \
    -e "s/\${MODver}/$MODver/"
chmod -w foo2zjs-icc2ps.1
chmod: foo2zjs-icc2ps.1: new permissions are r-xrwxrwx, not r-xr-xr-x
make[1]: *** [foo2zjs-icc2ps.1] Error 1
make[1]: Leaving directory `/media/4/foo2/foo2zjs/icc2ps'
make: *** [all-icc2ps] Error 2
I executed chmod -R 777 icc2ps - it didn't help.
 
Old 04-10-2011, 10:08 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,167

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
That's weird - It's making it 577, not 555. I would suspect the archive, or the disk. What's the output of 'umask' after it fails?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Laserjet 1020 with Foo2zjs Not Printing sloik2000 Linux - Hardware 4 06-22-2007 10:04 PM
Driver for HP Laser 1020 USB printer in Linux mohit.chugh Linux - Software 1 11-22-2006 10:14 AM
hp 1020 printer problem mohit.chugh Linux - Software 1 11-22-2006 06:29 AM
Help with Install of foo2zjs for HP 1020 Carpinus Ubuntu 1 08-22-2006 03:20 PM
Tally 9316 Printer with foo2zjs Orkie Linux - Hardware 0 03-29-2005 12:10 PM


All times are GMT -5. The time now is 01:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration