You are not logged in.

#1 2008-06-05 21:00:37

Shadowmeph
Member
From: West Coast Canada
Registered: 2008-05-19
Posts: 208

I am getting errors when I use the make command

I am trying to install this software and the ./configure went smoothly but the "make" command is giving me several warnings and a few errors which I am not sure how to fix
this is the output of make

Makefile:847: warning: overriding commands for target `clean-bcheck'
Makefile:825: warning: ignoring old commands for target `clean-bcheck'
Makefile:852: warning: overriding commands for target `bcheck-am'
Makefile:830: warning: ignoring old commands for target `bcheck-am'
Makefile:869: warning: overriding commands for target `clean-bcheck'
Makefile:847: warning: ignoring old commands for target `clean-bcheck'
Makefile:874: warning: overriding commands for target `bcheck-am'
Makefile:852: warning: ignoring old commands for target `bcheck-am'
Makefile:906: warning: overriding commands for target `clean-bcheck'
Makefile:869: warning: ignoring old commands for target `clean-bcheck'
Makefile:911: warning: overriding commands for target `bcheck-am'
Makefile:874: warning: ignoring old commands for target `bcheck-am'
make all-recursive
make[1]: Entering directory `/home/link/Docs/Builds/Astro/skylendar-1.7.1'
Makefile:847: warning: overriding commands for target `clean-bcheck'
Makefile:825: warning: ignoring old commands for target `clean-bcheck'
Makefile:852: warning: overriding commands for target `bcheck-am'
Makefile:830: warning: ignoring old commands for target `bcheck-am'
Makefile:869: warning: overriding commands for target `clean-bcheck'
Makefile:847: warning: ignoring old commands for target `clean-bcheck'
Makefile:874: warning: overriding commands for target `bcheck-am'
Makefile:852: warning: ignoring old commands for target `bcheck-am'
Makefile:906: warning: overriding commands for target `clean-bcheck'
Makefile:869: warning: ignoring old commands for target `clean-bcheck'
Makefile:911: warning: overriding commands for target `bcheck-am'
Makefile:874: warning: ignoring old commands for target `bcheck-am'
Making all in src
make[2]: Entering directory `/home/link/Docs/Builds/Astro/skylendar-1.7.1/src'
Making all in pics
make[3]: Entering directory `/home/link/Docs/Builds/Astro/skylendar-1.7.1/src/pics'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/link/Docs/Builds/Astro/skylendar-1.7.1/src/pics'
make[3]: Entering directory `/home/link/Docs/Builds/Astro/skylendar-1.7.1/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/src/pics -I/opt/kde/include -I/opt/qt/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -MT editaddmul.o -MD -MP -MF ".deps/editaddmul.Tpo" -c -o editaddmul.o editaddmul.cpp; \
then mv -f ".deps/editaddmul.Tpo" ".deps/editaddmul.Po"; else rm -f ".deps/editaddmul.Tpo"; exit 1; fi
In file included from /opt/qt/include/qvariant.h:42,
from _editaddmul.h:13,
from editaddmul.h:3,
from editaddmul.cpp:1:
/opt/qt/include/qstring.h: In member function 'char QChar::latin1() const':
/opt/qt/include/qstring.h:194: warning: conversion to 'char' from 'int' may alter its value
/opt/qt/include/qstring.h: In member function 'void QChar::setCell(uchar)':
/opt/qt/include/qstring.h:219: warning: conversion to 'ushort' from 'int' may alter its value
/opt/qt/include/qstring.h: In member function 'void QChar::setRow(uchar)':
/opt/qt/include/qstring.h:220: warning: conversion to 'ushort' from 'int' may alter its value
/opt/qt/include/qstring.h: In constructor 'QChar::QChar(uchar, uchar)':
/opt/qt/include/qstring.h:264: warning: conversion to 'ushort' from 'int' may alter its value
/opt/qt/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)':
/opt/qt/include/qstring.h:362: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
/opt/qt/include/qstring.h:362: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
In file included from /opt/qt/include/qobject.h:45,
from /opt/qt/include/qwidget.h:43,
from /opt/qt/include/qdialog.h:42,
from _editaddmul.h:14,
from editaddmul.h:3,
from editaddmul.cpp:1:
/opt/qt/include/qevent.h: In member function 'void QDropEvent::setAction(QDropEvent::Action)':
/opt/qt/include/qevent.h:520: warning: conversion to 'unsigned char' from 'uint' may alter its value
In file included from /opt/qt/include/qwidget.h:49,
from /opt/qt/include/qdialog.h:42,
from _editaddmul.h:14,
from editaddmul.h:3,
from editaddmul.cpp:1:
/opt/qt/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()':
/opt/qt/include/qsizepolicy.h:122: warning: conversion to 'uchar' from 'uint' may alter its value
/opt/qt/include/qsizepolicy.h:122: warning: conversion to 'uchar' from 'uint' may alter its value
editaddmul.cpp: In member function 'virtual void EditAddMul::OkSlot()':
editaddmul.cpp:52: error: 'atof' was not declared in this scope
editaddmul.cpp:54: error: 'atof' was not declared in this scope
make[3]: *** [editaddmul.o] Error 1
make[3]: Leaving directory `/home/link/Docs/Builds/Astro/skylendar-1.7.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/link/Docs/Builds/Astro/skylendar-1.7.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/link/Docs/Builds/Astro/skylendar-1.7.1'
make: *** [all] Error 2

Offline

#2 2008-06-05 22:16:33

pelle.k
Member
From: Åre, Sweden (EU)
Registered: 2006-04-30
Posts: 667

Re: I am getting errors when I use the make command

I happened to see your question on linuxquestions, and they're probably right about gcc 4.3 being the problem. You should mail the author (off the app in question) and tell him to update the "include statements" to comply with gcc 4.3


"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."

SETH / Jane Roberts

Offline

Board footer

Powered by FluxBB