LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-08-2011, 04:34 AM   #1
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 524

Rep: Reputation: 31
Installing foo2zjs on Suse 9


Hi!

I'm trying to install foo2zjs on my Suse 9 in order to have my printer HP P1006 work.
Trying to install the driver I get this error message:

Code:
> make
#
# Dependencies...
#
# ... OK!
#
cc -O2 -Wall -Wno-unused-but-set-variable   -c -o foo2zjs.o foo2zjs.c
cc1: error: unrecognized option `-Wno-unused-but-set-variable'
make: *** [foo2zjs.o] Fehler 1
Can anyone help me?

Thanks in advance.

Last edited by xpucto; 06-08-2011 at 04:36 AM.
 
Old 06-08-2011, 06:00 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The 'CFLAG' "-Wno-unused-but-set-variable" is for gcc-3.4.x or later.

When gcc-3.3.x is used : Edit the Makefile line 284 from
CFLAGS += -O2 -Wall -Wno-unused-but-set-variable
to :
CFLAGS += -O2 -Wall
 
1 members found this post helpful.
Old 06-09-2011, 08:28 AM   #3
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 524

Original Poster
Rep: Reputation: 31
Great it worked! Thank you very much!
 
  


Reply



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
[SOLVED] Slackware-13.1 and foo2zjs business_kid Slackware 8 09-27-2010 02:33 AM
foo2zjs SolitudeSensus Linux - Software 1 07-22-2009 12:53 AM
Laserjet 1020 with Foo2zjs Not Printing sloik2000 Linux - Hardware 4 06-22-2007 10:04 PM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:24 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration