LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training 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


Closed Thread
  Search this Thread
Old 06-09-2011, 05:43 AM   #1
sankar0202
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Rep: Reputation: Disabled
Please help me for installing printer


Step 1:- Execute Following Command
wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
This command will download Driver

Step 2 :- Unpack the downloaded Drivers.Execute Following Commands
tar zxvf foo2zjs.tar.gz
cd foo2zjs

Step 3:- Now Compile Drivers & Install Drivers (GCC Packages need here now

Read more: Installing HP LaserJet 1020 on Redhat,Fedora 9/10. @ All Linux User's Blog http://blog.ask4itsolutions.com/2009...#ixzz1OltlnfCL
All Linux User's Blog | Ask4 IT Solutions | Ahmedabad | Gujarat | India | www.ask4itsolutions.com
Under Creative Commons License: Attribution Share Alike

Above given steps I am bale to do, when I am trying Make I agetting below error

#
# Dependencies...
#
# ... OK!
#
cc -O2 -Wall -Wno-unused-but-set-variable -c -o foo2zjs.o foo2zjs.c
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
make: *** [foo2zjs.o] Error 1

If know , please help me.
 
Old 06-09-2011, 10:46 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,329

Rep: Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473
Quote:
Originally Posted by sankar0202 View Post
Step 1:- Execute Following Command
wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
This command will download Driver

Step 2 :- Unpack the downloaded Drivers.Execute Following Commands
tar zxvf foo2zjs.tar.gz
cd foo2zjs

Step 3:- Now Compile Drivers & Install Drivers (GCC Packages need here now

Read more: Installing HP LaserJet 1020 on Redhat,Fedora 9/10. @ All Linux User's Blog http://blog.ask4itsolutions.com/2009...#ixzz1OltlnfCL

Above given steps I am bale to do, when I am trying Make I agetting below error

cc -O2 -Wall -Wno-unused-but-set-variable -c -o foo2zjs.o foo2zjs.c
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
make: *** [foo2zjs.o] Error 1

If know , please help me.
Would help if you told us what version/distro of Linux you're using, and what kind of printer (and how it's connected) you're trying to print to.

From what you've posted, it look like you're trying to install it on RedHat 9/10...which is ANCIENT. Chances are, if you're using a distro that old, the compiler won't recognize those options. Both Foomatic and the HPLIP (recommended), drivers are available via the online repositories, but if you're using a distro that's very old, chances are you're stuck until you upgrade.
 
Old 06-09-2011, 11:00 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,758

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
Quote:
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
Already answered in a "duplicate" thread yesterday ( Suse 9 )
http://www.linuxquestions.org/questi...9/#post4379704
 
Old 06-09-2011, 11:48 AM   #4
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,715

Rep: Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525
If you get a proper distro, you shouldn't have to do anything with an HP printer other than plug in in and run the CUPS installer: that will just recognise it without your needing to do any more.
 
Old 06-09-2011, 10:10 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,885
Blog Entries: 18

Rep: Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346
Get HPLIP. It's should be in the repos.
 
Old 06-10-2011, 03:10 AM   #6
sankar0202
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Please HELP ME

Quote:
Originally Posted by TB0ne View Post
Would help if you told us what version/distro of Linux you're using, and what kind of printer (and how it's connected) you're trying to print to.

From what you've posted, it look like you're trying to install it on RedHat 9/10...which is ANCIENT. Chances are, if you're using a distro that old, the compiler won't recognize those options. Both Foomatic and the HPLIP (recommended), drivers are available via the online repositories, but if you're using a distro that's very old, chances are you're stuck until you upgrade.
Step 1:- Execute Following Command
wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
This command will download Driver

Step 2 :- Unpack the downloaded Drivers.Execute Following Commands
tar zxvf foo2zjs.tar.gz
cd foo2zjs

Step 3:- Now Compile Drivers & Install Drivers (GCC Packages need here now

Read more: Installing HP LaserJet 1020 on Redhat,Fedora 9/10. @ All Linux User's Blog http://blog.ask4itsolutions.com/2009...#ixzz1OltlnfCL

Above given steps I am bale to do, when I am trying Make I agetting below error

cc -O2 -Wall -Wno-unused-but-set-variable -c -o foo2zjs.o foo2zjs.c
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
make: *** [foo2zjs.o] Error 1

i am trying to install on Hp Lasejet 1020 printer with Redhat Linux 5.5 pirated software.
 
Old 06-10-2011, 08:46 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,329

Rep: Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473
Quote:
Originally Posted by sankar0202 View Post
Step 1:- Execute Following Command
wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
This command will download Driver

Step 2 :- Unpack the downloaded Drivers.Execute Following Commands
tar zxvf foo2zjs.tar.gz
cd foo2zjs

Step 3:- Now Compile Drivers & Install Drivers (GCC Packages need here now

Read more: Installing HP LaserJet 1020 on Redhat,Fedora 9/10. @ All Linux User's Blog http://blog.ask4itsolutions.com/2009...#ixzz1OltlnfCL

Above given steps I am bale to do, when I am trying Make I agetting below error

cc -O2 -Wall -Wno-unused-but-set-variable -c -o foo2zjs.o foo2zjs.c
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
make: *** [foo2zjs.o] Error 1

i am trying to install on Hp Lasejet 1020 printer with Redhat Linux 5.5 pirated software.
Reposting the same question again, doesn't provide ANY follow up information, does it??

Did you even pay attention to what you posted?? You clearly say you're following instructions for FEDORA 9, and you admit you're running RedHat Enterprise 5.5. Are they they same??? If not, then the instructions won't work, will they? HPlip and Foomatic are already available and ready to run for RHEL5. Install them from your DVD. And if you're not going to PAY for RHEL5, then you shouldn't be using it.

Load CentOS instead, which is virtually identical, but free. You'll get access to the online repositories too, and be able to actually install things.
 
Old 06-10-2011, 10:04 AM   #8
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Quote:
Originally Posted by sankar0202 View Post
i am trying to install on Hp Lasejet 1020 printer with Redhat Linux 5.5 pirated software.
The words "pirated software" together are not allowed here at LinuxQuestions! Since the majority of the Linux distributions are free, I strongly suggest to install another distro and bring yourself within the law. As already suggested, if you like Red Hat, try CentOS which is essentially the same. Any other question related to your pirated copy will be hardly pursued.

This thread closed. If you disagree with what I stated above, feel free to contact me by e-mail and explain your reasons. Nuff' said.
 
  


Closed Thread


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
installing printer abhattacharya Linux - Hardware 1 07-31-2007 05:03 AM
Installing Canon LBP USB Printer as network printer on a Fedora Core without XWindow boy3dfx2 Linux - Newbie 5 06-03-2006 02:23 PM
Installing printer in 10.2 Hondro Slackware 10 03-26-2006 05:59 PM
need help installing printer perlmonger Ubuntu 5 12-07-2005 08:34 AM
installing a printer shanenin Linux - Hardware 5 12-16-2003 06:15 PM

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

All times are GMT -5. The time now is 12:12 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