This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Compilation error XXFLAGS [solved]

Tags: None
(comma "," separated)
jmpoure_drupal
Registered Member
Posts
735
Karma
0

Compilation error XXFLAGS [solved]

Thu Aug 02, 2007 3:02 pm

kdenlive r1654



/usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload ./transitionwipe_ui.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include ,#include ,g" >> transitionwipe_ui.h ;
/usr/bin/kconfig_compiler ./kdenlive.kcfg ./kdenlivesettings.kcfgc; ret=$?; \
if test "$ret" != 0; then rm -f kdenlivesettings.h ; exit $ret ; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/share/qt3/include -I. -I/usr/include -I/usr/include/mlt -D_REENTRANT -D__STDC_CONSTANT_MACROS -DQT_THREAD_SUPPORT -D_REENTRANT XXFLAGS -DMLT_PREFIX=\""/usr"\" -DENABLE_FIREWIRE -MT avfilelist.o -MD -MP -MF ".deps/avfilelist.Tpo" -c -o avfilelist.o avfilelist.cpp; \
then mv -f ".deps/avfilelist.Tpo" ".deps/avfilelist.Po"; else rm -f ".deps/avfilelist.Tpo"; exit 1; fi
g++: XXFLAGS : Aucun fichier ou répertoire de ce type
espinosa_cz
Registered Member
Posts
118
Karma
0
OS

Re: Compilation error XXFLAGS

Thu Aug 02, 2007 10:07 pm

me too :(




/usr/bin/kconfig_compiler ./kdenlive.kcfg ./kdenlivesettings.kcfgc; ret=$?; \
if test "$ret" != 0; then rm -f kdenlivesettings.h ; exit $ret ; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include -I. -I/home/espinosa/build/kdenlive/include -I/home/espinosa/build/kdenlive/include/mlt -D_REENTRANT -D__STDC_CONSTANT_MACROS -DQT_THREAD_SUPPORT -D_REENTRANT XXFLAGS -DMLT_PREFIX=\""/home/espinosa/build/kdenlive"\" -MT avfilelist.o -MD -MP -MF ".deps/avfilelist.Tpo" -c -o avfilelist.o avfilelist.cpp; \
then mv -f ".deps/avfilelist.Tpo" ".deps/avfilelist.Po"; else rm -f ".deps/avfilelist.Tpo"; exit 1; fi
g++: XXFLAGS: No such file or directory
make[2]: *** [avfilelist.o] Error 1
make[2]: Leaving directory `/home/espinosa/src/kdenlive/kdenlive'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/espinosa/src/kdenlive'
make: *** [all] Error 2
[espinosa@esplaptop kdenlive]$ svn update

Fetching external item into 'admin'
External at revision 695759.

At revision 1655.
espinosa_cz
Registered Member
Posts
118
Karma
0
OS

Re: Compilation error XXFLAGS

Thu Aug 02, 2007 10:21 pm

Shouldn't be there ${XXFLAGS} instead just XXFLAGS?

g++ thinks it is some kind of file not a variable, so the error (warning?) message.

But I have doubts if this is a real cause.

If I call the command manually

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include -I. -I/home/espinosa/build/kdenlive/include -I/home/espinosa/build/kdenlive/include/mlt -D_REENTRANT -D__STDC_CONSTANT_MACROS -DQT_THREAD_SUPPORT -D_REENTRANT XXFLAGS -DMLT_PREFIX=\""/home/espinosa/build/kdenlive"\" -MT aviconviewitem.o -MD -MP -MF ".deps/aviconviewitem.Tpo" -c -o aviconviewitem.o aviconviewitem.cpp

it always compile the avlistviewitem.o, with XXFLAG or without.

ddennedy
Registered Member
Posts
1315
Karma
1

Re: Compilation error XXFLAGS

Fri Aug 03, 2007 5:36 am

For the impatient:



Index: configure.in.in

===================================================================

--- configure.in.in (revision 1655)

+++ configure.in.in (working copy)

@@ -29,7 +29,7 @@

LIBMLT_CFLAGS="`$MLT_CONFIG --cflags`"



MLT_PATH=`mlt-config --prefix`

- CXXFLAGS='$CXXFLAGS -DMLT_PREFIX=\""'$MLT_PATH'"\"'

+ CXXFLAGS="$CXXFLAGS -DMLT_PREFIX=\\\"\"$MLT_PATH\"\\\""

else

AC_MSG_WARN([You need at least mlt 0.2.4])

HELP_SUBDIR=



j-b-m
Registered Member
Posts
804
Karma
1

Re: Compilation error XXFLAGS

Fri Aug 03, 2007 6:11 am

Dan's patch has been applied, should be fixed now.

jmpoure_drupal
Registered Member
Posts
735
Karma
0

Fixed, thanks.



Bookmarks



Who is online

Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, sandyvee, Sogou [Bot]