[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: build-bug in 2_2_BRANCH, Makefile.cvs assumes gnu precompiler
From: Allan Sandfeld Jensen <snowwolf () one2one-networks ! com>
Date: 2001-10-29 20:54:20
[Download RAW message or body]
I've had a problem compiling kdelibs on solaris. I get the following error
when making:
cc -DHAVE_CONFIG_H -I. -I../../../dcop/KDE-ICE -I../.. -I../../../dcop
-I../../../libltdl -I../../../kdecore -I../../../kdeui -I../../../kssl
-I/usr/local/dikunix/include/qt -I/usr/local/dikunix/include
-I/usr/local/stow/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DUSE_SOLARIS -DSVR4 -DICE_t -DTRANS_SERVER -DTRANS_CLIENT -DUNIXCONN
-DANSICPP -xarch=v8plusa -xO3 -fns -xprefetch -xCC -Wp,-MD,.deps/accept.pp -c
../../../dcop/KDE-ICE/accept.c -KPIC -DPIC -o .libs/accept.o
command line: fatal: invalid arg for option M D: No such file or directory
cc: acomp failed for ../../../dcop/KDE-ICE/accept.c
gmake[3]: *** [accept.lo] Error 1
acomp simply doesnt have an -MD option like cpp, and therefore fails. I
traced the bug, and found the following in the source tree under dcop:
guldfaxe dcop > grep Wp *
Makefile.in: $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
Makefile.in: $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
Makefile.in: $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
Makefile.in: $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
So the GNU/platform dependant stuff is inserted already when doing "make -f
Makefile.cvs" instead of leaving it up to configure.
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic