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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-14-2003, 02:51 PM
|
#1
|
LQ Newbie
Registered: Jul 2003
Location: Edmonton, AB, Canada
Distribution: Fedora Core 4
Posts: 16
Rep:
|
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 
|
|
|
07-14-2003, 02:54 PM
|
#2
|
LQ Addict
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403
Rep:
|
Humm unfortunately the stuff that could help us solve the problem is the stuff you cut out with the [blah blah]

|
|
|
07-15-2003, 01:01 AM
|
#3
|
LQ Newbie
Registered: Jul 2003
Location: Edmonton, AB, Canada
Distribution: Fedora Core 4
Posts: 16
Original Poster
Rep:
|
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
|
|
|
07-15-2003, 11:20 AM
|
#4
|
LQ Newbie
Registered: Jul 2003
Location: Edmonton, AB, Canada
Distribution: Fedora Core 4
Posts: 16
Original Poster
Rep:
|
up
|
|
|
07-16-2003, 03:34 AM
|
#5
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,639
Rep: 
|
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.
|
|
|
07-16-2003, 07:22 AM
|
#6
|
LQ Newbie
Registered: Jul 2003
Posts: 2
Rep:
|
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.
|
|
|
07-16-2003, 08:22 AM
|
#7
|
LQ Newbie
Registered: Jul 2003
Posts: 2
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 12:16 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|