Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kde3 compile error
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Jeevz
Bodhisattva
Bodhisattva


Joined: 15 Apr 2002
Posts: 195
Location: Boston, MA

PostPosted: Sun Apr 21, 2002 3:21 pm    Post subject: kde3 compile error Reply with quote

Hello,

I receive this compile error when trying to compile the kdeartwork package.

Code:

core.so -L/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3 -L/usr/i686-pc-linux-gnu/lib /usr/kde/3/lib/libDCOP.so -ldl -lXinerama /usr/kde/3/lib/libkdefx.so -lqt-mt -lpng -lz -lXext -lSM -lICE -lpthread -lXrender -lstdc++ -lc -lgcc -lm -lMesaGL -lMesaGLU -lX11 -lresolv -Wl,--rpath -Wl,/usr/kde/3/lib -Wl,--rpath -Wl,/usr/kde/3/lib -Wl,--rpath -Wl,/usr/qt/3/lib -Wl,--rpath -Wl,/usr/X11R6/lib
source='kspace_kss_meta_unload.cpp' object='kspace_kss_meta_unload.o' libtool=no \
depfile='.deps/kspace_kss_meta_unload.Po' tmpdepfile='.deps/kspace_kss_meta_unload.TPo' \
depmode=gcc /bin/sh ../../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3/include -I/usr/qt/3/include -I/usr/X11R6/include   -UQT_NO_ASCII_CAST -DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG -O2 -march=i686 -O3 -pipe -fno-exceptions -fno-check-new  -c -o kspace_kss_meta_unload.o `test -f kspace_kss_meta_unload.cpp || echo './'`kspace_kss_meta_unload.cpp
/bin/sh ../../libtool --mode=link --tag=CXX g++  -DNDEBUG -DNO_DEBUG -O2 -march=i686 -O3 -pipe -fno-exceptions -fno-check-new   -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3/lib  -R /usr/kde/3/lib -R /usr/qt/3/lib -R /usr/X11R6/lib -o kspace.kss  main.o demowin.o saver.o helpers.o xlock.o space.o kspace_kss_meta_unload.o  -lkdeui -lm -lMesaGL -lMesaGLU -lX11 -lresolv
g++ -DNDEBUG -DNO_DEBUG -O2 -march=i686 -O3 -pipe -fno-exceptions -fno-check-new -o kspace.kss main.o demowin.o saver.o helpers.o xlock.o space.o kspace_kss_meta_unload.o  -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3/lib /usr/kde/3/lib/libkdeui.so /usr/kde/3/lib/libkdecore.so -L/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3 -L/usr/i686-pc-linux-gnu/lib /usr/kde/3/lib/libDCOP.so -ldl -lXinerama /usr/kde/3/lib/libkdefx.so -lqt-mt -lpng -lz -lXext -lSM -lICE -lpthread -lXrender -lstdc++ -lc -lgcc -lm -lMesaGL -lMesaGLU -lX11 -lresolv -Wl,--rpath -Wl,/usr/kde/3/lib -Wl,--rpath -Wl,/usr/kde/3/lib -Wl,--rpath -Wl,/usr/qt/3/lib -Wl,--rpath -Wl,/usr/X11R6/lib
source='pipes.cpp' object='pipes.o' libtool=no \
depfile='.deps/pipes.Po' tmpdepfile='.deps/pipes.TPo' \
depmode=gcc /bin/sh ../../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3/include -I/usr/qt/3/include -I/usr/X11R6/include   -UQT_NO_ASCII_CAST -DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG -O2 -march=i686 -O3 -pipe -fno-exceptions -fno-check-new  -c -o pipes.o `test -f pipes.cpp || echo './'`pipes.cpp
In file included from /usr/X11R6/include/GL/glx.h:27,
                 from pipes.cpp:153:
/usr/X11R6/include/X11/Xmd.h:133: conflicting types for `typedef long int INT32'
/usr/qt/3/include/qglobal.h:497: previous declaration as `typedef int INT32'
make[3]: *** [pipes.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdeartwork-3.0-r1/work/kdeartwork-3.0/kscreensaver/xsavers'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdeartwork-3.0-r1/work/kdeartwork-3.0/kscreensaver'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdeartwork-3.0-r1/work/kdeartwork-3.0'
make: *** [all] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function kde_src_compile, Line -3484, Exitcode 2
!!! died running emake, kde_src_compile:make

!!! emerge aborting on  /usr/portage/kde-base/kdeartwork/kdeartwork-3.0-r1.ebuild .


Anyone have any ideas? Maybe it gets tripped up on glx? I already set up X with fluxbox and the nvidia card with out problem.
Back to top
View user's profile Send private message
justus
n00b
n00b


Joined: 16 Apr 2002
Posts: 48

PostPosted: Sun Apr 21, 2002 9:02 pm    Post subject: Gentoo update soon? Reply with quote

The fix is rather simple to do, however it may be easier to have this updated
in the cvs rather than doing it manually.

#define LONG64

This needs to be added to the beginning of the pipes.cpp file (this is also
currently added to two of the other files in the the xsavers directory.)
Once that is done it will compile without a problem.

I can also send in some more direct instructions if need be :)

Justin T
Back to top
View user's profile Send private message
c_kuzmanic
Guru
Guru


Joined: 18 Apr 2002
Posts: 488
Location: Los Angeles , California

PostPosted: Mon Apr 22, 2002 4:46 am    Post subject: Reply with quote

Yeah hey, great fix thank you.

I added this to /var/tmp/portage/kdeartwork-3.0-r1/work/kdeartwork-3.0/kscreensaver/xsavers/pipes.cpp during compilation and it worked fine.
Back to top
View user's profile Send private message
Jeevz
Bodhisattva
Bodhisattva


Joined: 15 Apr 2002
Posts: 195
Location: Boston, MA

PostPosted: Mon Apr 22, 2002 1:31 pm    Post subject: Re: Gentoo update soon? Reply with quote

justus wrote:

#define LONG64

This needs to be added to the beginning of the pipes.cpp file (this is also
currently added to two of the other files in the the xsavers directory.)
Once that is done it will compile without a problem.


This worked for me as well. Thank you again!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum