LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-15-2008, 11:43 PM   #1
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Rep: Reputation: 31
Error while running 'make'


Dear all:

I got this error (mentioned below) while compiling some source code. What is the cause and how do I correct it?

Code:
make[4]: Leaving directory `/home/deepu/Desktop/prozilla-2.0.4/libprozilla/src'
make[4]: Entering directory `/home/deepu/Desktop/prozilla-2.0.4/libprozilla'
make[4]: Leaving directory `/home/deepu/Desktop/prozilla-2.0.4/libprozilla'
make[3]: Leaving directory `/home/deepu/Desktop/prozilla-2.0.4/libprozilla'
make[2]: Leaving directory `/home/deepu/Desktop/prozilla-2.0.4/libprozilla'
Making all in src
make[2]: Entering directory `/home/deepu/Desktop/prozilla-2.0.4/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../libprozilla/src -I../intl -I/usr/local/include  -fno-inline -DLOCALEDIR=\"/usr/local/share/locale\"   -Wall -ggdb -D_REENTRANT -MT main.o -MD -MP -MF ".deps/main.Tpo" \
	  -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp; \
	then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
	else rm -f ".deps/main.Tpo"; exit 1; \
	fi
In file included from main.cpp:39:
download_win.h:55: error: extra qualification ‘DL_Window::’ on member ‘print_status’
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/deepu/Desktop/prozilla-2.0.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/deepu/Desktop/prozilla-2.0.4'
make: *** [all] Error 2
 
Old 06-16-2008, 08:17 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
The cause is that you have an error in that include (.h) file. What's the source code to? Have you checked that file?
 
Old 06-16-2008, 08:22 AM   #3
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Yes, I have installed Prozilla from source previously.
 
Old 06-16-2008, 08:46 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
This is a problem with newer GNU C/C++ compilers. To solve it just edit the file src/download_win.h and strip out the class name before the method at line 55, that is
Code:
void DL_Window::print_status(download_t * download, int quiet_mode);
should be
Code:
void print_status(download_t * download, int quiet_mode);
 
Old 06-16-2008, 09:14 AM   #5
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Thanks. I am compiling. Will post back if I have problems.
 
Old 06-16-2008, 09:15 AM   #6
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Pro man! It worked Thanks a lot.
 
Old 06-26-2008, 09:15 PM   #7
nmansour
Member
 
Registered: Sep 2006
Location: Chicago
Distribution: Ubuntu 8.04 - Fedora 9 on an AMD 64bit Machine
Posts: 101

Rep: Reputation: 15
that was helpful, thank you for posting the problem and many thanks for the solution.
But, why does this error occur? And what does it mean? And why are new C++ compiler buggy?

Noha
 
Old 07-25-2010, 12:11 PM   #8
burkass
LQ Newbie
 
Registered: Oct 2008
Posts: 3

Rep: Reputation: 0
@colucic
Thanks mate, it's very help
 
Old 07-25-2010, 03:01 PM   #9
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
You're welcome!
 
Old 04-27-2011, 08:40 AM   #10
amuro
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by colucix View Post
This is a problem with newer GNU C/C++ compilers. To solve it just edit the file src/download_win.h and strip out the class name before the method at line 55, that is
Code:
void DL_Window::print_status(download_t * download, int quiet_mode);
should be
Code:
void print_status(download_t * download, int quiet_mode);
thanks man.. your a life saver !!
 
  


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
Error running make Fusspils Linux - Newbie 4 09-14-2005 12:18 PM
General question while running make "make[2]: *** [main.o] Error 1" matazar42 Linux - Software 3 08-15-2005 12:39 PM
Error in Make running WineCVS.sh thesonic1 Linux - Software 3 03-17-2005 07:26 PM
ERROR running make when installing Nvidia drivers (syntax error) randyriver10 Linux - Software 5 02-21-2004 04:51 PM
error when running make punt Linux - General 2 09-24-2001 07:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:58 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
Open Source Consulting | Domain Registration