Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 13/01/2008, à 12:20

msbart29

Petit probleme en c++

Bonjours à tous !

Alors voila, je suis en train de modifier kmess et j'ai rencontré un problème assé particulier .
Dans mon fichier *.h j'ai rajouté :

#ifndef SYSTEMTRAYMAIL_H
#define SYSTEMTRAYMAIL_H
.
.
.
.
#endif

Mais lorsque je met ceci g++ me dit qu'il ne trouve pas les instruction pour créer mon constructeur et quand je les enlèves il me dit que ma classe est déjà défini.

Quelqu'un à une idée ?

Merci d'avance

Math

systemtraymail.h

#ifndef SYSTEMTRAYMAIL_H
#define SYSTEMTRAYMAIL_H

#include <qwidget.h>
#include <ksystemtray.h>
#include "dialogconfigmail.h"

/**
 * @brief System tray event handling.
 *
 * The new email are displayed in the system tray.
 * This class handles the events fired by the KDE systemtray.
 *
 * @author Mathieu S - MSBART29
 * @ingroup Root
 */
class SystemTrayMail : public KSystemTray
{
  Q_OBJECT
  public:
    // The constructor
  	                 SystemTrayMail(QWidget *parent=0, const char *name=0);
    // The destructor
  	                ~SystemTrayMail();

    DialogConfigMail    *configBox;
    bool                initialize();
    KPopupMenu          *contextMenu_ ;
};

#endif

systemtraymail.cpp

#include "systemtraymail.h"

#include <kdebug.h>
#include <klocale.h>
#include "dialogconfigmail.h"
#include <kpopupmenu.h>
#include <kiconloader.h>
#include "currentaccount.h"

// The constructor
SystemTrayMail::SystemTrayMail(QWidget *parent, const char *name )
 : KSystemTray(parent,name)
{
  KIconLoader *loader = KGlobal::iconLoader();
  setPixmap( loader->loadIcon( "email", KIcon::User ) );


  contextMenu_ = contextMenu();
  contextMenu_->insertItem("Configurer mes parametres mail",1,1);
  contextMenu_->insertItem("Voir mes mails",2,2);
  configBox = new DialogConfigMail(this, "config",false,0);
  configBox->show();

}



// The destructor
SystemTrayMail::~SystemTrayMail()
{
#ifdef KMESSDEBUG_SYSTEMTRAY
  kdDebug() << "DESTROYED SystemTrayMail" << endl;
#endif
delete contextMenu_;
}





#include "systemtraymail.moc"

Inspiron 6400 core 2 duo T5500,1Go de Ram , ATI radeon X1300 mobility
carte wifi ipw3945 et tout ça sous Ubuntu Hardy

Hors ligne

#2 Le 13/01/2008, à 14:47

Aurel34

Re : Petit probleme en c++

t'as essayé de mettre ton include de ton .h en DERNIER include ?

sinon post-nous l'erreur de ton compilo

#3 Le 13/01/2008, à 16:21

msbart29

Re : Petit probleme en c++

bon voila l'erreur  avec ' #ifndef #define' :

systemtraymail.o: In function `SystemTrayMail':
/home/math/Desktop/kmess-1.5pre2/kmess/systemtraymail.cpp:38: undefined reference to `DialogConfigMail::DialogConfigMail(QWidget*, char const*, bool, unsigned int)'
/home/math/Desktop/kmess-1.5pre2/kmess/systemtraymail.cpp:38: undefined reference to `DialogConfigMail::DialogConfigMail(QWidget*, char const*, bool, unsigned int)'
collect2: ld returned 1 exit status
make[3]: *** [kmess] Error 1
make[3]: Leaving directory `/home/math/Desktop/kmess-1.5pre2/kmess'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/math/Desktop/kmess-1.5pre2/kmess'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/math/Desktop/kmess-1.5pre2'
make: *** [all] Error 2

P.S : j'utilise g++ et je n'avais pas cette erreur avant de rajouter l'objet "configBox" donc je me demande si ca ne vient pas du makefile qu'il faut modifier (j'ai deja rajouter l'objet systemTrayMail et j'avais modifier le makefile"). Donc je me demande comment faire pour regénérer le makefile.

Merci d'avance.

Math

Dernière modification par msbart29 (Le 13/01/2008, à 16:25)


Inspiron 6400 core 2 duo T5500,1Go de Ram , ATI radeon X1300 mobility
carte wifi ipw3945 et tout ça sous Ubuntu Hardy

Hors ligne

#4 Le 13/01/2008, à 17:38

msbart29

Re : Petit probleme en c++

Et voila l'erreur sans le "#ifndef"

systemtraymail.h:35: error: redefinition of ‘class SystemTrayMail’
systemtraymail.h:36: error: previous definition of ‘class SystemTrayMail’
make[3]: *** [kmessview.o] Error 1
make[3]: Leaving directory `/home/math/Desktop/kmess-1.5pre2/kmess'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/math/Desktop/kmess-1.5pre2/kmess'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/math/Desktop/kmess-1.5pre2'
make: *** [all] Error 2
math@math-laptop:~/Desktop/kmess-1.5pre2$

chose logique

++


Inspiron 6400 core 2 duo T5500,1Go de Ram , ATI radeon X1300 mobility
carte wifi ipw3945 et tout ça sous Ubuntu Hardy

Hors ligne

#5 Le 13/01/2008, à 18:07

Aurel34

Re : Petit probleme en c++

laisse les guards

de toute façon il ne te reproche pas de ne pas trouver la déclaration, il te reproche de mauvis arguments dans le constructeur de "DialogConfigMail" ligne 38. (ou alors tu l'oublies au link ?)

après faut voir le code de la classe en question

#6 Le 13/01/2008, à 18:07

telliam

Re : Petit probleme en c++

as tu passé le .h à  l'outil moc?
http://www.digitalfanatics.org/projects/qt_tutorial/fr/chapter02.html


"- Un intellectuel assis va moins loin qu'un con qui marche."
Maurice Biraud - Un Taxi pour Tobrouk
Michel Audiard

Hors ligne

#7 Le 14/01/2008, à 16:00

msbart29

Re : Petit probleme en c++

Bonjours à  tous et merci pour vos réponses, alors j'ai passé le .h à  l'outil moc avec la commande :

moc -o dialogconfigmail.moc -i dialogconfigmail.h

et j'ai rajouté dialogconfigmail.moc à  la fin de mon dialogconfigmail.cpp.

Je pense que mon probleme vient du faite que "dialogconfigmail" n'apparaisse pas dans mon Makefile et je ne connais pas la method qui permet de recréer tous ces fichers.
J'ai essayer avec les commandes:

aclocal
autoheader
automake
autoconf

Mais sans résultat.........:/

donc si quelqu'un à  un tutoriel pas trop mal ...... big_smile

Merci  d'avance

Math


Inspiron 6400 core 2 duo T5500,1Go de Ram , ATI radeon X1300 mobility
carte wifi ipw3945 et tout ça sous Ubuntu Hardy

Hors ligne

#8 Le 15/01/2008, à 17:57

msbart29

Re : Petit probleme en c++

up
tongue


Inspiron 6400 core 2 duo T5500,1Go de Ram , ATI radeon X1300 mobility
carte wifi ipw3945 et tout ça sous Ubuntu Hardy

Hors ligne

#9 Le 15/01/2008, à 21:15

telliam

Re : Petit probleme en c++

et si tu rajoutes dans ton makefile :

dialogconfigmail.h : dialogconfigmail.moc
    moc -o dialogconfigmail.moc -i dialogconfigmail.h

"- Un intellectuel assis va moins loin qu'un con qui marche."
Maurice Biraud - Un Taxi pour Tobrouk
Michel Audiard

Hors ligne

#10 Le 15/01/2008, à 22:40

Jos31

Re : Petit probleme en c++

Ton problème ne vient pas du code mais de l'edition de liens
Au moment de l'édition de lien, le compilateur ne trouve pas le code objet correspondant a la classe DialogConfigMail.

Est ce que c'est une classe que tu a codée dans un autre fichier source? Si oui, il faut que tu fasses l'édition de liens avec tous les fichiers objets de ton projet.

Ex:

# Compilation des fichiers source
g++ -Wall -c monFichier1.c -o monFichier1.o
g++ -Wall -c monFichier2.c -o monFichier2.o
g++ -Wall -c main.c -o main.o

#edition de lien et création de l'executable
g++ -o monProgramme monFichier1.o monFichier2.o main.o

Hors ligne

#11 Le 16/01/2008, à 10:29

Aurel34

Re : Petit probleme en c++

msbart29 a écrit :

Je pense que mon probleme vient du faite que "dialogconfigmail" n'apparaisse pas dans mon Makefile

si c'est juste un Makefile "maison" tu dois avoir un ligne qui définit une variable pour les sources, typiquement "SRCS=machin.cc truc.cc ...". Il suffit alors de rajouter ton fichier à  la suite

si ton projet est géré par les autotools, c'est à  peu près pareil, tu dois avoir une ligne du type "bidule_SOURCES=machin.cc truc.cc ..." o๠tu remplaces "bidule" par le nom de l'exécuable généré. Après tu lances autoreconf et ça devrait rouler. (o๠juste make si tu es en maintainer mode, mais c'est un détail).

après tu peux avoir des subtilités, mais c'est assez difficile de dire sans voir le code source...

#12 Le 16/01/2008, à 13:19

msbart29

Re : Petit probleme en c++

Salut a tous et merci pour vos réponses !

Alors moi je travail à  partir des codes sources de kmess. Dans le repertoire */kmess du projet il y a un makefile indépendant et un makefile.in et un makefile.am.

Dans le fichier makefile.am il y avait bien une ligne kmess_SOURCES. j'y ai bien rajouté mes fichiers systemtraymail.cpp, dialogconfigmail.ui et dialogconfigmail.cpp.
Il y a aussi une ligne "noinst_HEADERS" o๠j'y ai rajouter mes systemtraymail.h et dialogconfigmail.h.

je refais un ./configure pour re-générer un Makefile mais toujours une erreur de compile :

/home/math/Desktop/kmess-1.5pre2/kmess/kmessview.cpp:85: undefined reference to
`SystemTrayMail::SystemTrayMail(QWidget*, char const*)'
/home/math/Desktop/kmess-1.5pre2/kmess/kmessview.cpp:85: undefined reference to
`SystemTrayMail::SystemTrayMail(QWidget*, char const*)'
collect2: ld returned 1 exit status
make[3]: *** [kmess] Error 1
make[3]: Leaving directory `/home/math/Desktop/kmess-1.5pre2/kmess'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/math/Desktop/kmess-1.5pre2/kmess'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/math/Desktop/kmess-1.5pre2'
make: *** [all] Error 2

J'ai bien mon fichier "systemtraymail.h" dans mes headers.

Voila voila.


je vous laisse mon MakeFile.am :

####### kdevelop will overwrite this part!!! (begin)##########



bin_PROGRAMS  = kmess
xdg_apps_DATA = kmess.desktop

# AUTO requires the "<theme><size>-<type>-<name>.png" naming convension
KDE_ICON = AUTO

kmess_SOURCES = account.cpp autologinview.cpp contactlistviewitem.cpp \
				currentaccount.cpp emoticoncollection.cpp emoticon.cpp grouplistviewitem.cpp idletimer.cpp \
				initialview.cpp initialviewinterface.ui kmess.cpp kmessinterface.cpp \
				kmesslistviewitem.cpp kmessviewinterface.ui kmesstest.cpp kmessview.cpp main.cpp 	binreloc.c \
			msnobject.cpp systemtraywidget.cpp systemtraymail.cpp dialogconfigmail.cpp xautolock.cpp kmessapplication.cpp 	kmessdebug.cpp \
		nowlisteningclient.cpp thumbnailprovider.cpp 

# for Autopackage BinReloc support. this passes
# the --enable-binreloc result to the compiler
AM_CPPFLAGS   = $(BINRELOC_CFLAGS) $(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS)


# Weird stuff but required: libnetwork.a is added twice.
# "UNIX linkers are single-pass, so if you have two libraries
#  referring to each other, you need to mention those libraries twice."
# The ordering also matters because if this issue.
kmess_LDADD = $(top_builddir)/kmess/chat/libchat.a \
              $(top_builddir)/kmess/network/libnetwork.a \
              $(top_builddir)/kmess/contact/libcontact.a \
              $(top_builddir)/kmess/dialogs/libdialogs.a \
              $(top_builddir)/kmess/settings/libsettings.a \
              $(top_builddir)/kmess/actions/libactions.a \
              $(top_builddir)/kmess/notification/libnotification.a \
              $(top_builddir)/kmess/network/applications/libapplications.a \
              $(top_builddir)/kmess/network/upnp/libupnp.a \
              $(top_builddir)/kmess/network/extra/libextra.a \
              $(top_builddir)/kmess/network/libnetwork.a \
              $(top_builddir)/kmess/network/extra/httpsoapconnection.o \
              $(top_builddir)/kmess/crypt/libmsncrypt.a \
              $(KPHONE_GSM_LIB) $(KPHONE_ILBC_LIB) $(KPHONE_DISSIPATE2_LIB) \
              $(LIB_XSCREENSAVER) \
			  $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_KIO) $(LIB_KHTML) \
			  $(LIB_QT) \
			  $(LIBSOCKET) \
			  $(LIBXML_LIBS) $(LIBXSLT_LIBS)

SUBDIRS = actions crypt contact chat dialogs network settings notification pics sounds styles

generaldatadir   = $(kde_datadir)/kmess
generaldata_DATA = eventsrc

noinst_HEADERS = account.h autologinview.h contactlistviewitem.h \
			currentaccount.h emoticoncollection.h emoticon.h grouplistviewitem.h idletimer.h \
			initialview.h kmessdebug.h kmess.h 	kmessinterface.h kmesslistviewitem.h kmesstest.h \
		kmessview.h msnobject.h 	binreloc.h specialgroups.h systemtraywidget.h xautolock.h \
		kmessapplication.h nowlisteningclient.h thumbnailprovider.h systemtraymail.h dialogconfigmail.h

# These paths are KDE specific. Use them:
# kde_appsdir         Where your application's menu entry (.desktop) should go to.
# kde_icondir         Where your icon should go to - better use KDE_ICON.
# kde_sounddir        Where your sounds should go to.
# kde_htmldir         Where your docs should go to. (contains lang subdirs)
# kde_datadir         Where you install application data. (Use a subdir)
# kde_locale          Where translation files should go to. (contains lang subdirs)
# kde_cgidir          Where cgi-bin executables should go to.
# kde_confdir         Where config files should go to (system-wide ones with default values).
# kde_mimedir         Where mimetypes .desktop files should go to.
# kde_servicesdir     Where services .desktop files should go to.
# kde_servicetypesdir Where servicetypes .desktop files should go to.
# kde_toolbardir      Where general toolbar icons should go to (deprecated, use KDE_ICON).
# kde_wallpaperdir    Where general wallpapers should go to.
# kde_templatesdir    Where templates for the "New" menu (Konqueror/KDesktop) should go to.
# kde_bindir          Where executables should go to. Use bin_PROGRAMS or bin_SCRIPTS.
# kde_libdir          Where shared libraries should go to. Use lib_LTLIBRARIES.
# kde_moduledir       Where modules (e.g. parts) should go to. Use kde_module_LTLIBRARIES.
# kde_styledir        Where Qt/KDE widget styles should go to (new in KDE 3).
# kde_designerdir     Where Qt Designer plugins should go to (new in KDE 3).


# set the include path for X, qt and KDE
INCLUDES = $(all_includes)

# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO

# the library search path.
# the -lpthread is required for Autopackage/BinReloc
kmess_LDFLAGS = $(KDE_RPATH) $(all_libraries) -lpthread

# Uncomment the following two lines if you add a ui.rc file for your application to make use of
# KDEs XML GUI builing
#rcdir = $(kde_datadir)/kmess
#rc_DATA = kmessui.rc

# The rc.cpp target contains all messages from the .ui files
messages: rc.cpp
	@echo "extracting translations from *.ui files.."
	$(EXTRACTRC) `find . -name '*.ui' -o -name '*.rc' | sort ` > rc.cpp
	@echo "extracting translations from *.xsl files.."
	sh ./styles/extract-xsl-messages >> rc.cpp
	@echo "extracting translations from *.cpp files.."
	LIST=`find . -name '*.h' -o -name '*.cpp' | sort`; \
	if test -n "$$LIST"; then \
	  $(XGETTEXT) $$LIST -o $(podir)/kmess.pot; \
	fi

AM_CXXFLAGS = -ggdb

Merci encore, A bientot.

Math

Dernière modification par msbart29 (Le 16/01/2008, à 19:05)


Inspiron 6400 core 2 duo T5500,1Go de Ram , ATI radeon X1300 mobility
carte wifi ipw3945 et tout ça sous Ubuntu Hardy

Hors ligne

#13 Le 16/01/2008, à 19:04

msbart29

Re : Petit probleme en c++

Après compilation (échouée) je constate ne pas avoir de systemtrailmail.o ni de dialogconfigmail.o

@++


Inspiron 6400 core 2 duo T5500,1Go de Ram , ATI radeon X1300 mobility
carte wifi ipw3945 et tout ça sous Ubuntu Hardy

Hors ligne

#14 Le 16/01/2008, à 22:22

Kraid

Re : Petit probleme en c++

salut!

ca ressemble bien a un probleme d'edition de lien
tu ne peux pas essayer d'utiliser un makefile plus simple sans passer par autoconf etc.. ?

Hors ligne

#15 Le 16/01/2008, à 22:26

msbart29

Re : Petit probleme en c++

Salut Kraid !

Ba le truc c'est que je ne sais pa tro faire de Makefile surtout sur des gros projet comme celui ci donc c'est vrai que un makefile.am est plus simpe pour moi.

Je vais essayer tous de meme ca.

Merci pour ta réponse.

Bonne soirée.

Math


Inspiron 6400 core 2 duo T5500,1Go de Ram , ATI radeon X1300 mobility
carte wifi ipw3945 et tout ça sous Ubuntu Hardy

Hors ligne

#16 Le 17/01/2008, à 12:00

Kraid

Re : Petit probleme en c++

as tu relancé autoconf et automake après avoir modifié ton makefile.am?

Hors ligne

#17 Le 17/01/2008, à 12:52

msbart29

Re : Petit probleme en c++

oui mais autoconf me dit que je n'ai pas de fichier configure.in, ce qui est normal car ce n'est pas le "makefile principale" mais il est appeler par un autre makefile "parent".
je vais essayer de faire un makefile maison.

Je me demandais aussi si il ne fallait pas utiliser un outils genre Qmake mais pour les librairies Kde enfin voila.

Merci de votre aide

Math


Inspiron 6400 core 2 duo T5500,1Go de Ram , ATI radeon X1300 mobility
carte wifi ipw3945 et tout ça sous Ubuntu Hardy

Hors ligne

#18 Le 17/01/2008, à 13:16

Kraid

Re : Petit probleme en c++

le configure.in se trouve dans le repertoire racine du projet
c'est la que tu dois lancer automake et autoconf
si c'est bien fait, il lira les makefile.am dans les arborescences donc le tien tongue
ensuite un ./configure pour générer les makefiles

sinon solution extreme ( ne laisse pas comme ca n'est-ce pas? c'est juste pour voir si ton code est bon)
tu édites un fichier source du projet ( un qui compile)  et tu ajoutes
#include "systemtraymail.cpp"
#include "dialogconfigmail.cpp"

le but est de compiler en meme temps que l'autre fichier
beurk! c'est super moche, ce n'est que provisoire.
le temps que tu t'habitue a l'utilisation de automake et autoconf

Dernière modification par Kraid (Le 17/01/2008, à 14:55)

Hors ligne

#19 Le 17/01/2008, à 18:23

msbart29

Re : Petit probleme en c++

J'ai réessayé de refaire un

autoscan && mv configure.scan configur
e.in && aclocal && autoheader && autoconf && automake && ./configure && make

mais ca se passe pas très bien, il n'arrive même pas au ./configure !

math@math-laptop:~/Desktop/kmess-1.5pre2$ autoscan && mv configure.scan configur
e.in && aclocal && autoheader && autoconf && automake && ./configure && make
configure.in: warning: missing AC_CHECK_FUNCS([bzero]) wanted by: kmess/network/
msnconnection.cpp:617
configure.in: warning: missing AC_CHECK_FUNCS([gethostbyname]) wanted by: kmess/
network/msnconnection.cpp:201
configure.in: warning: missing AC_CHECK_FUNCS([memset]) wanted by: kmess/thumbna
ilprovider.cpp:207
configure.in: warning: missing AC_CHECK_FUNCS([mkdir]) wanted by: kmess/kmess.cp
p:855
configure.in: warning: missing AC_CHECK_FUNCS([socket]) wanted by: kmess/network
/tcpconnectionbase.h:126
configure.in: warning: missing AC_CHECK_FUNCS([strchr]) wanted by: kmess/binrelo
c.c:154
configure.in: warning: missing AC_CHECK_FUNCS([strdup]) wanted by: kmess/binrelo
c.c:165
configure.in: warning: missing AC_CHECK_FUNCS([strerror]) wanted by: kmess/netwo
rk/msnconnection.cpp:117
configure.in: warning: missing AC_CHECK_FUNCS([strrchr]) wanted by: kmess/binrel
oc.c:747
configure.in: warning: missing AC_CHECK_FUNCS([strstr]) wanted by: kmess/binrelo
c.c:157
configure.in: warning: missing AC_CHECK_HEADERS([arpa/inet.h]) wanted by: kmess/
network/msnconnection.h:33
configure.in: warning: missing AC_CHECK_HEADERS([fcntl.h]) wanted by: kmess/netw
ork/applications/sipconnection.cpp:23
configure.in: warning: missing AC_CHECK_HEADERS([limits.h]) wanted by: kmess/bin
reloc.c:23
configure.in: warning: missing AC_CHECK_HEADERS([netdb.h]) wanted by: kmess/netw
ork/msnconnection.h:34
configure.in: warning: missing AC_CHECK_HEADERS([sys/ioctl.h]) wanted by: kmess/
network/applications/sipconnection.cpp:26
configure.in: warning: missing AC_CHECK_HEADERS([sys/socket.h]) wanted by: kmess
/network/msnconnection.h:32
configure.in: warning: missing AC_CHECK_HEADERS([sys/time.h]) wanted by: config.
h.in:185
configure.in: warning: missing AC_C_CONST wanted by: config.h.in:208
configure.in: warning: missing AC_C_INLINE wanted by: kmess/network/applications
/filetransferp2p.cpp:196
configure.in: warning: missing AC_FUNC_ERROR_AT_LINE wanted by: kmess/kmess.cpp:
632
configure.in: warning: missing AC_FUNC_MALLOC wanted by: kmess/binreloc.c:57
configure.in: warning: missing AC_FUNC_MEMCMP wanted by: kmess/dialogs/networkwi
ndow.cpp:172
configure.in: warning: missing AC_FUNC_REALLOC wanted by: kmess/binreloc.c:113
configure.in: warning: missing AC_FUNC_STAT wanted by: kmess/binreloc.c:90
configure.in: warning: missing AC_HEADER_STDBOOL wanted by: kmess/nowlisteningcl
ient.h:51
configure.in: warning: missing AC_PATH_X wanted by: kmess/xautolock.h:28
configure.in: warning: missing AC_PROG_RANLIB wanted by: admin/ltmain.sh:6334
configure.in: warning: missing AC_STRUCT_TM wanted by: kmess/crypt/sha1.cpp:76
configure.in: warning: missing AC_TYPE_SIZE_T wanted by: config.h.in:242
configure.in: warning: missing AC_TYPE_SSIZE_T wanted by: kmess/binreloc.c:48
configure.in: warning: missing AC_TYPE_UINT32_T wanted by: kmess/crypt/bithelp.h
:29
configure.in: warning: missing AC_TYPE_UINT8_T wanted by: kmess/crypt/globalstuf
f.h:39
acinclude.m4:3699: the serial number must appear before any macro definition
acinclude.m4:3744: the serial number must appear before any macro definition
acinclude.m4:3789: the serial number must appear before any macro definition
acinclude.m4:5997: the serial number must appear before any macro definition
configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
configure.in:14: required file `./install-sh' not found
configure.in:14:   `automake --add-missing' can install `install-sh'
kmess/Makefile.am: required file `./depcomp' not found
kmess/Makefile.am:   `automake --add-missing' can install `depcomp'
/usr/share/automake-1.10/am/depend2.am: am__fastdepCC does not appear in AM_COND
ITIONAL
/usr/share/automake-1.10/am/depend2.am:   The usual way to define `am__fastdepCC                                                                                                   ' is to add `AC_PROG_CC'
/usr/share/automake-1.10/am/depend2.am:   to `configure.in' and run `aclocal' an                                                                                                   d `autoconf' again.
/usr/share/automake-1.10/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.10/am/depend2.am:   The usual way to define `AMDEP' is to                                                                                                    add one of the compiler tests
/usr/share/automake-1.10/am/depend2.am:     AC_PROG_CC, AC_PROG_CXX, AC_PROG_CXX                                                                                                   , AC_PROG_OBJC,
/usr/share/automake-1.10/am/depend2.am:     AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
/usr/share/automake-1.10/am/depend2.am:   to `configure.in' and run `aclocal' an                                                                                                   d `autoconf' again.
/usr/share/automake-1.10/am/depend2.am: am__fastdepCXX does not appear in AM_CON                                                                                                   DITIONAL
/usr/share/automake-1.10/am/depend2.am:   The usual way to define `am__fastdepCX                                                                                                   X' is to add `AC_PROG_CXX'
/usr/share/automake-1.10/am/depend2.am:   to `configure.in' and run `aclocal' an                                                                                                   d `autoconf' again.
kmess/Makefile.am:6: `xdg_apps_DATA' is used but `xdg_appsdir' is undefined
kmess/sounds/Makefile.am:3: `kde_sound_DATA' is used but `kde_sounddir' is undef                                                                                                   ined

Voila voila

++

Math


Inspiron 6400 core 2 duo T5500,1Go de Ram , ATI radeon X1300 mobility
carte wifi ipw3945 et tout ça sous Ubuntu Hardy

Hors ligne