LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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, 05:34 AM   #1
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

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 05:36 AM.
 
Old 06-08-2011, 07:00 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
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, 09:28 AM   #3
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

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


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
[SOLVED] Slackware-13.1 and foo2zjs business_kid Slackware 8 09-27-2010 03:33 AM
foo2zjs SolitudeSensus Linux - Software 1 07-22-2009 01:53 AM
Laserjet 1020 with Foo2zjs Not Printing sloik2000 Linux - Hardware 4 06-22-2007 11:04 PM
Help with Install of foo2zjs for HP 1020 Carpinus Ubuntu 1 08-22-2006 04:20 PM
Tally 9316 Printer with foo2zjs Orkie Linux - Hardware 0 03-29-2005 01:10 PM


All times are GMT -5. The time now is 11:05 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration