LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-14-2003, 02:51 PM   #1
userini
LQ Newbie
 
Registered: Jul 2003
Location: Edmonton, AB, Canada
Distribution: Fedora Core 4
Posts: 16

Rep: Reputation: 0
Compile Errors


Seems whatever program I try to compile, I get the same errors during make and make install. For example, during calchecksum install:

Code:
# make

[blah blah]

make[2]: *** [calcchecksum.o] Error 1
make[2]: Leaving directory `/tmp/download/calcchecksum-1.3/calcchecksum'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/download/calcchecksum-1.3'
make: *** [all] Error 2

#make install

[blah blah]

make[1]: *** [calcchecksum.o] Error 1
make[1]: Leaving directory `/tmp/download/calcchecksum-1.3/calcchecksum'
make: *** [install-recursive] Error 1

#
Any help on this issue would be greatly appreciated, this problem is stalling my Linux life
 
Old 07-14-2003, 02:54 PM   #2
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
Humm unfortunately the stuff that could help us solve the problem is the stuff you cut out with the [blah blah]

 
Old 07-15-2003, 01:01 AM   #3
userini
LQ Newbie
 
Registered: Jul 2003
Location: Edmonton, AB, Canada
Distribution: Fedora Core 4
Posts: 16

Original Poster
Rep: Reputation: 0
I though that the error code would be enough, so I decided not to paste the whole thing in here. Now that I know, here it is:

Code:
# make

make  all-recursive
make[1]: Entering directory `/tmp/download/calcchecksum-1.3'
Making all in calcchecksum
make[2]: Entering directory `/tmp/download/calcchecksum-1.3/calcchecksum'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include -I/usr/lib/qt-3.1.2/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fexceptions  -MT calcchecksum.o -MD -MP -MF ".deps/calcchecksum.Tpo" \
  -c -o calcchecksum.o `test -f 'calcchecksum.cpp' || echo './'`calcchecksum.cpp; \
then mv ".deps/calcchecksum.Tpo" ".deps/calcchecksum.Po"; \
else rm -f ".deps/calcchecksum.Tpo"; exit 1; \
fi
calcchecksum.cpp: In member function `virtual void
   CalcChecksum::copyNowButton_slot()':
calcchecksum.cpp:458: no match for `QString& += std::basic_string<char,
   std::char_traits<char>, std::allocator<char> >' operator
/usr/lib/qt-3.1.2/include/qstring.h:570: candidates are: QString&
   QString::operator+=(const QString&)
/usr/lib/qt-3.1.2/include/qstring.h:832:                 QString&
   QString::operator+=(const QByteArray&)
/usr/lib/qt-3.1.2/include/qstring.h:573:                 QString&
   QString::operator+=(const char*)
/usr/lib/qt-3.1.2/include/qstring.h:578:                 QString&
   QString::operator+=(QChar)
/usr/lib/qt-3.1.2/include/qstring.h:579:                 QString&
   QString::operator+=(char)
calcchecksum.cpp:460: no match for `QString& += std::basic_string<char,
   std::char_traits<char>, std::allocator<char> >' operator
/usr/lib/qt-3.1.2/include/qstring.h:570: candidates are: QString&
   QString::operator+=(const QString&)
/usr/lib/qt-3.1.2/include/qstring.h:832:                 QString&
   QString::operator+=(const QByteArray&)
/usr/lib/qt-3.1.2/include/qstring.h:573:                 QString&
   QString::operator+=(const char*)
/usr/lib/qt-3.1.2/include/qstring.h:578:                 QString&
   QString::operator+=(QChar)
/usr/lib/qt-3.1.2/include/qstring.h:579:                 QString&
   QString::operator+=(char)
calcchecksum.cpp:462: no match for `QString& += std::basic_string<char,
   std::char_traits<char>, std::allocator<char> >' operator
/usr/lib/qt-3.1.2/include/qstring.h:570: candidates are: QString&
   QString::operator+=(const QString&)
/usr/lib/qt-3.1.2/include/qstring.h:832:                 QString&
   QString::operator+=(const QByteArray&)
/usr/lib/qt-3.1.2/include/qstring.h:573:                 QString&
   QString::operator+=(const char*)
/usr/lib/qt-3.1.2/include/qstring.h:578:                 QString&
   QString::operator+=(QChar)
/usr/lib/qt-3.1.2/include/qstring.h:579:                 QString&
   QString::operator+=(char)
calcchecksum.cpp:464: no match for `QString& += std::basic_string<char,
   std::char_traits<char>, std::allocator<char> >' operator
/usr/lib/qt-3.1.2/include/qstring.h:570: candidates are: QString&
   QString::operator+=(const QString&)
/usr/lib/qt-3.1.2/include/qstring.h:832:                 QString&
   QString::operator+=(const QByteArray&)
/usr/lib/qt-3.1.2/include/qstring.h:573:                 QString&
   QString::operator+=(const char*)
/usr/lib/qt-3.1.2/include/qstring.h:578:                 QString&
   QString::operator+=(QChar)
/usr/lib/qt-3.1.2/include/qstring.h:579:                 QString&
   QString::operator+=(char)
calcchecksum.cpp:466: no match for `QString& += std::basic_string<char,
   std::char_traits<char>, std::allocator<char> >' operator
/usr/lib/qt-3.1.2/include/qstring.h:570: candidates are: QString&
   QString::operator+=(const QString&)
/usr/lib/qt-3.1.2/include/qstring.h:832:                 QString&
   QString::operator+=(const QByteArray&)
/usr/lib/qt-3.1.2/include/qstring.h:573:                 QString&
   QString::operator+=(const char*)
/usr/lib/qt-3.1.2/include/qstring.h:578:                 QString&
   QString::operator+=(QChar)
/usr/lib/qt-3.1.2/include/qstring.h:579:                 QString&
   QString::operator+=(char)
calcchecksum.cpp:468: no match for `QString& += std::basic_string<char,
   std::char_traits<char>, std::allocator<char> >' operator
/usr/lib/qt-3.1.2/include/qstring.h:570: candidates are: QString&
   QString::operator+=(const QString&)
/usr/lib/qt-3.1.2/include/qstring.h:832:                 QString&
   QString::operator+=(const QByteArray&)
/usr/lib/qt-3.1.2/include/qstring.h:573:                 QString&
   QString::operator+=(const char*)
/usr/lib/qt-3.1.2/include/qstring.h:578:                 QString&
   QString::operator+=(QChar)
/usr/lib/qt-3.1.2/include/qstring.h:579:                 QString&
   QString::operator+=(char)
make[2]: *** [calcchecksum.o] Error 1
make[2]: Leaving directory `/tmp/download/calcchecksum-1.3/calcchecksum'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/download/calcchecksum-1.3'
make: *** [all] Error 2

# make install

Making install in calcchecksum
make[1]: Entering directory `/tmp/download/calcchecksum-1.3/calcchecksum'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include -I/usr/lib/qt-3.1.2/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fexceptions  -MT calcchecksum.o -MD -MP -MF ".deps/calcchecksum.Tpo" \
  -c -o calcchecksum.o `test -f 'calcchecksum.cpp' || echo './'`calcchecksum.cpp; \
then mv ".deps/calcchecksum.Tpo" ".deps/calcchecksum.Po"; \
else rm -f ".deps/calcchecksum.Tpo"; exit 1; \
fi
calcchecksum.cpp: In member function `virtual void
   CalcChecksum::copyNowButton_slot()':
calcchecksum.cpp:458: no match for `QString& += std::basic_string<char,
   std::char_traits<char>, std::allocator<char> >' operator
/usr/lib/qt-3.1.2/include/qstring.h:570: candidates are: QString&
   QString::operator+=(const QString&)
/usr/lib/qt-3.1.2/include/qstring.h:832:                 QString&
   QString::operator+=(const QByteArray&)
/usr/lib/qt-3.1.2/include/qstring.h:573:                 QString&
   QString::operator+=(const char*)
/usr/lib/qt-3.1.2/include/qstring.h:578:                 QString&
   QString::operator+=(QChar)
/usr/lib/qt-3.1.2/include/qstring.h:579:                 QString&
   QString::operator+=(char)
calcchecksum.cpp:460: no match for `QString& += std::basic_string<char,
   std::char_traits<char>, std::allocator<char> >' operator
/usr/lib/qt-3.1.2/include/qstring.h:570: candidates are: QString&
   QString::operator+=(const QString&)
/usr/lib/qt-3.1.2/include/qstring.h:832:                 QString&
   QString::operator+=(const QByteArray&)
/usr/lib/qt-3.1.2/include/qstring.h:573:                 QString&
   QString::operator+=(const char*)
/usr/lib/qt-3.1.2/include/qstring.h:578:                 QString&
   QString::operator+=(QChar)
/usr/lib/qt-3.1.2/include/qstring.h:579:                 QString&
   QString::operator+=(char)
calcchecksum.cpp:462: no match for `QString& += std::basic_string<char,
   std::char_traits<char>, std::allocator<char> >' operator
/usr/lib/qt-3.1.2/include/qstring.h:570: candidates are: QString&
   QString::operator+=(const QString&)
/usr/lib/qt-3.1.2/include/qstring.h:832:                 QString&
   QString::operator+=(const QByteArray&)
/usr/lib/qt-3.1.2/include/qstring.h:573:                 QString&
   QString::operator+=(const char*)
/usr/lib/qt-3.1.2/include/qstring.h:578:                 QString&
   QString::operator+=(QChar)
/usr/lib/qt-3.1.2/include/qstring.h:579:                 QString&
   QString::operator+=(char)
calcchecksum.cpp:464: no match for `QString& += std::basic_string<char,
   std::char_traits<char>, std::allocator<char> >' operator
/usr/lib/qt-3.1.2/include/qstring.h:570: candidates are: QString&
   QString::operator+=(const QString&)
/usr/lib/qt-3.1.2/include/qstring.h:832:                 QString&
   QString::operator+=(const QByteArray&)
/usr/lib/qt-3.1.2/include/qstring.h:573:                 QString&
   QString::operator+=(const char*)
/usr/lib/qt-3.1.2/include/qstring.h:578:                 QString&
   QString::operator+=(QChar)
/usr/lib/qt-3.1.2/include/qstring.h:579:                 QString&
   QString::operator+=(char)
calcchecksum.cpp:466: no match for `QString& += std::basic_string<char,
   std::char_traits<char>, std::allocator<char> >' operator
/usr/lib/qt-3.1.2/include/qstring.h:570: candidates are: QString&
   QString::operator+=(const QString&)
/usr/lib/qt-3.1.2/include/qstring.h:832:                 QString&
   QString::operator+=(const QByteArray&)
/usr/lib/qt-3.1.2/include/qstring.h:573:                 QString&
   QString::operator+=(const char*)
/usr/lib/qt-3.1.2/include/qstring.h:578:                 QString&
   QString::operator+=(QChar)
/usr/lib/qt-3.1.2/include/qstring.h:579:                 QString&
   QString::operator+=(char)
calcchecksum.cpp:468: no match for `QString& += std::basic_string<char,
   std::char_traits<char>, std::allocator<char> >' operator
/usr/lib/qt-3.1.2/include/qstring.h:570: candidates are: QString&
   QString::operator+=(const QString&)
/usr/lib/qt-3.1.2/include/qstring.h:832:                 QString&
   QString::operator+=(const QByteArray&)
/usr/lib/qt-3.1.2/include/qstring.h:573:                 QString&
   QString::operator+=(const char*)
/usr/lib/qt-3.1.2/include/qstring.h:578:                 QString&
   QString::operator+=(QChar)
/usr/lib/qt-3.1.2/include/qstring.h:579:                 QString&
   QString::operator+=(char)
make[1]: *** [calcchecksum.o] Error 1
make[1]: Leaving directory `/tmp/download/calcchecksum-1.3/calcchecksum'
make: *** [install-recursive] Error 1

#
Thanks
 
Old 07-15-2003, 11:20 AM   #4
userini
LQ Newbie
 
Registered: Jul 2003
Location: Edmonton, AB, Canada
Distribution: Fedora Core 4
Posts: 16

Original Poster
Rep: Reputation: 0
up
 
Old 07-16-2003, 03:34 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Quote:
Originally posted by userini
up


Did you make sure, that all libs are installed? Usually the development package of your distribution lets you stay on the secure side here. Make sure to read the README or INSTALL files of the software to be compiled, sometimes it requires a particular version number for its libs.
 
Old 07-16-2003, 07:22 AM   #6
fsd
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
Hi userini!

I'm the developer of CalcChecksum and first of all, I want to thank you for trying my software.

The problem you are triggering is some inconsistency problem in _many_ linux-distributions in the QT-library.
Most Distributions allow conversions from string to QString (that's QTs default) and some don't. Seems your distro doesn't.

I've no direct general solution for this problem, but compiling and installing the newest QT-sources from the trolltech website may fix it.

I'm also planning to make a new release of calcchecksum with a workaround included.

Regards
Michael Buesch.
 
Old 07-16-2003, 08:22 AM   #7
fsd
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
I just released calcchecksum-1.4 with a workaround for this problem.
You may download it on my homepage http://www.8ung.at/tuxsoft

But, your problem with the QT needs fixing nevertheless.
Please let me know (e-mail), if you found a good way to fix it.
thanks.

Regards
Michael Buesch.
 
  


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
compile errors. DrunkenDisciple Linux - Software 3 11-29-2005 12:11 AM
c++ compile errors using g++ ttumelty Programming 5 09-08-2005 01:58 PM
compile errors davidleroux1 Programming 4 05-10-2005 10:03 PM
C++ compile errors Palamides Programming 1 03-09-2005 06:28 AM
kismet compile errors mrgreenfur Linux - Wireless Networking 4 07-25-2004 06:03 PM

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

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