Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57361 - 3ddesktop won't compile, errors out
Summary: 3ddesktop won't compile, errors out
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Desktop WM Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-16 23:01 UTC by Chris Germano
Modified: 2004-07-17 11:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Germano 2004-07-16 23:01:54 UTC
When I try to emerge x11-misc/3ddesktop v2.0.5 I get a compile error early on "undefined reference to `CylinderArrangement::two_face_gap'" 2.0.6 gives the same error. 

I just tried to build 2.0.7 manually and it compiles. You may just want to upgrade the ebuild, I believe the author has another post that already states this. http://bugs.gentoo.org/show_bug.cgi?id=56236

I'm running an amd 64, with gcc 3.4.1 .. might be the cause or it might be some dependency that I don't see I'm not sure. 

Reproducible: Always
Steps to Reproduce:
1.emerge 3ddesktop
2.
3.

Actual Results:  
root@mach64 chris # emerge 3ddesktop 
Calculating dependencies ...done! 
>>> emerge (1 of 1) x11-misc/3ddesktop-0.2.5-r1 to / 
>>> md5 src_uri ;-) 3ddesktop-0.2.5.tar.gz 
>>> md5 src_uri ;-) 3ddesk-memusage-fix.patch.bz2 
>>> Unpacking source... 
>>> Unpacking 3ddesktop-0.2.5.tar.gz 
to /var/tmp/portage/3ddesktop-0.2.5-r1/work 
>>> Unpacking 3ddesk-memusage-fix.patch.bz2 
to /var/tmp/portage/3ddesktop-0.2.5-r1/work 
 * Applying 3ddesk-memusage-fix.patch.bz2...                              
[ ok ] 
>>> Source unpacked. 
configure: WARNING: If you wanted to set the --build type, don't use --host. 
    If a cross compiler is detected then cross compile mode will be used. 
checking for a BSD-compatible install... /bin/install -c 
checking whether build environment is sane... yes 
checking for gawk... gawk 
checking whether make sets ${MAKE}... yes 
checking for x86_64-pc-linux-gnu-strip... no 
checking for strip... strip 
checking for x86_64-pc-linux-gnu-g++... g++ 
checking for C++ compiler default output... a.out 
checking whether the C++ compiler works... yes 
checking whether we are cross compiling... no 
checking for suffix of executables... 
checking for suffix of object files... o 
checking whether we are using the GNU C++ compiler... yes 
checking whether g++ accepts -g... yes 
checking for style of include used by make... GNU 
checking dependency style of g++... gcc3 
checking how to run the C++ preprocessor... g++ -E 
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include 
checking for gethostbyname... yes 
checking for connect... yes 
checking for remove... yes 
checking for shmat... yes 
checking for IceConnectionNumber in -lICE... yes 
checking for dirent.h that defines DIR... yes 
checking for library containing opendir... none required 
checking for ANSI C header files... yes 
checking for sys/types.h... yes 
checking for sys/stat.h... yes 
checking for stdlib.h... yes 
checking for string.h... yes 
checking for memory.h... yes 
checking for strings.h... yes 
checking for inttypes.h... yes 
checking for stdint.h... yes 
checking for unistd.h... yes 
checking fcntl.h usability... yes 
checking fcntl.h presence... yes 
checking for fcntl.h... yes 
checking sys/time.h usability... yes 
checking sys/time.h presence... yes 
checking for sys/time.h... yes 
checking for unistd.h... (cached) yes 
checking for KDE includes... configure: WARNING: KDE include path not found.  
Disabling KDE support. 
checking for gethostbyname... (cached) yes 
checking for connect... (cached) yes 
checking for remove... (cached) yes 
checking for shmat... (cached) yes 
checking for IceConnectionNumber in -lICE... (cached) yes 
checking GL/gl.h usability... yes 
checking GL/gl.h presence... yes 
checking for GL/gl.h... yes 
checking for XextCreateExtension in -lXext... yes 
checking for XF86VidModeSetViewPort in -lXxf86vm... yes 
checking for x86_64-pc-linux-gnu-gcc... gcc 
checking whether we are using the GNU C compiler... yes 
checking whether gcc accepts -g... yes 
checking dependency style of gcc... gcc3 
checking build system type... x86_64-unknown-linux-gnu 
checking host system type... x86_64-pc-linux-gnu 
checking for main in -lm... yes 
checking for OpenGL... yes 
checking for cos in -lm... yes 
checking for imlib2-config... yes 
checking for gcc option to accept ANSI C... none needed 
checking for inline... inline 
checking whether time.h and sys/time.h may both be included... yes 
checking for gettimeofday... yes 
checking for mkdir... yes 
checking for strerror... yes 
configure: creating ./config.status 
config.status: creating Makefile 
config.status: creating 3ddesktop.spec 
config.status: creating maketar.sh 
config.status: creating config.h 
config.status: executing depfiles commands 
make  all-am 
make[1]: Entering directory 
`/var/tmp/portage/3ddesktop-0.2.5-r1/work/3ddesktop-0.2.5' 
source='3ddesk.cpp' object='3ddesk.o' libtool=no \ 
depfile='.deps/3ddesk.Po' tmpdepfile='.deps/3ddesk.TPo' \ 
depmode=gcc3 /bin/sh ./depcomp \ 
g++ -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/X11R6/include -I/usr/X11R6/include 
-Wall -DQT_CLEAN_NAMESPACE -DSHAREDIR=\"/usr/share/3ddesktop\" 
-DSYSCONFDIR=\"/etc\" -I/usr/X11R6/include  -I/usr/X11R6/include 
-I/usr/X11R6/include -O2 -march=k8 -pipe -fomit-frame-pointer -fforce-addr  
-L/usr/X11R6/lib -L/usr/X11R6/lib -c -o 3ddesk.o `test -f '3ddesk.cpp' || echo 
'./'`3ddesk.cpp 
source='3ddeskd.cpp' object='3ddeskd.o' libtool=no \ 
depfile='.deps/3ddeskd.Po' tmpdepfile='.deps/3ddeskd.TPo' \ 
depmode=gcc3 /bin/sh ./depcomp \ 
g++ -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/X11R6/include -I/usr/X11R6/include 
-Wall -DQT_CLEAN_NAMESPACE -DSHAREDIR=\"/usr/share/3ddesktop\" 
-DSYSCONFDIR=\"/etc\" -I/usr/X11R6/include  -I/usr/X11R6/include 
-I/usr/X11R6/include -O2 -march=k8 -pipe -fomit-frame-pointer -fforce-addr  
-L/usr/X11R6/lib -L/usr/X11R6/lib -c -o 3ddeskd.o `test -f '3ddeskd.cpp' || 
echo './'`3ddeskd.cpp 
source='xutil.cpp' object='xutil.o' libtool=no \ 
depfile='.deps/xutil.Po' tmpdepfile='.deps/xutil.TPo' \ 
depmode=gcc3 /bin/sh ./depcomp \ 
g++ -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/X11R6/include -I/usr/X11R6/include 
-Wall -DQT_CLEAN_NAMESPACE -DSHAREDIR=\"/usr/share/3ddesktop\" 
-DSYSCONFDIR=\"/etc\" -I/usr/X11R6/include  -I/usr/X11R6/include 
-I/usr/X11R6/include -O2 -march=k8 -pipe -fomit-frame-pointer -fforce-addr  
-L/usr/X11R6/lib -L/usr/X11R6/lib -c -o xutil.o `test -f 'xutil.cpp' || echo 
'./'`xutil.cpp 
source='arrange.cpp' object='arrange.o' libtool=no \ 
depfile='.deps/arrange.Po' tmpdepfile='.deps/arrange.TPo' \ 
depmode=gcc3 /bin/sh ./depcomp \ 
g++ -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/X11R6/include -I/usr/X11R6/include 
-Wall -DQT_CLEAN_NAMESPACE -DSHAREDIR=\"/usr/share/3ddesktop\" 
-DSYSCONFDIR=\"/etc\" -I/usr/X11R6/include  -I/usr/X11R6/include 
-I/usr/X11R6/include -O2 -march=k8 -pipe -fomit-frame-pointer -fforce-addr  
-L/usr/X11R6/lib -L/usr/X11R6/lib -c -o arrange.o `test -f 'arrange.cpp' || 
echo './'`arrange.cpp 
source='util.cpp' object='util.o' libtool=no \ 
depfile='.deps/util.Po' tmpdepfile='.deps/util.TPo' \ 
depmode=gcc3 /bin/sh ./depcomp \ 
g++ -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/X11R6/include -I/usr/X11R6/include 
-Wall -DQT_CLEAN_NAMESPACE -DSHAREDIR=\"/usr/share/3ddesktop\" 
-DSYSCONFDIR=\"/etc\" -I/usr/X11R6/include  -I/usr/X11R6/include 
-I/usr/X11R6/include -O2 -march=k8 -pipe -fomit-frame-pointer -fforce-addr  
-L/usr/X11R6/lib -L/usr/X11R6/lib -c -o util.o `test -f 'util.cpp' || echo 
'./'`util.cpp 
source='win.cpp' object='win.o' libtool=no \ 
depfile='.deps/win.Po' tmpdepfile='.deps/win.TPo' \ 
depmode=gcc3 /bin/sh ./depcomp \ 
g++ -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/X11R6/include -I/usr/X11R6/include 
-Wall -DQT_CLEAN_NAMESPACE -DSHAREDIR=\"/usr/share/3ddesktop\" 
-DSYSCONFDIR=\"/etc\" -I/usr/X11R6/include  -I/usr/X11R6/include 
-I/usr/X11R6/include -O2 -march=k8 -pipe -fomit-frame-pointer -fforce-addr  
-L/usr/X11R6/lib -L/usr/X11R6/lib -c -o win.o `test -f 'win.cpp' || echo 
'./'`win.cpp 
g++ -Wall -DQT_CLEAN_NAMESPACE -DSHAREDIR=\"/usr/share/3ddesktop\" 
-DSYSCONFDIR=\"/etc\" -I/usr/X11R6/include  -I/usr/X11R6/include 
-I/usr/X11R6/include -O2 -march=k8 -pipe -fomit-frame-pointer -fforce-addr  
-L/usr/X11R6/lib -L/usr/X11R6/lib   -o 3ddesk  3ddesk.o  -lm -lXxf86vm -lXext   
-lSM -lICE -lSM -lICE 
g++ -Wall -DQT_CLEAN_NAMESPACE -DSHAREDIR=\"/usr/share/3ddesktop\" 
-DSYSCONFDIR=\"/etc\" -I/usr/X11R6/include  -I/usr/X11R6/include 
-I/usr/X11R6/include -O2 -march=k8 -pipe -fomit-frame-pointer -fforce-addr  
-L/usr/X11R6/lib -L/usr/X11R6/lib   -o 3ddeskd -L/usr/lib -lImlib2 -lfreetype 
-lz -lm -ldl -lXext -lXext -lX11 -L/usr/X11R6/lib -lglut -lGLU -lGL  -lSM 
-lICE -lSM -lICE  -L/usr/X11R6/lib -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt 
-lXi  -lm   3ddeskd.o xutil.o arrange.o util.o win.o  -lm -lXxf86vm -lXext   
-lSM -lICE -lSM -lICE 
arrange.o(.text+0xcea5): In function 
`CylinderArrangement::calculate_faces(VDesktops&)': 
: undefined reference to `CylinderArrangement::two_face_gap' 
collect2: ld returned 1 exit status 
make[1]: *** [3ddeskd] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/3ddesktop-0.2.5-r1/work/3ddesktop-0.2.5' 
make: *** [all] Error 2 
 
!!! ERROR: x11-misc/3ddesktop-0.2.5-r1 failed. 
!!! Function src_compile, Line 27, Exitcode 2 
!!! (no error message) 
 
and the newer version 2.0.6: 
 
g++ -Wall -O3 -DQT_CLEAN_NAMESPACE -DSHAREDIR=\"/usr/share/3ddesktop\" 
-DSYSCONFDIR=\"/etc\" -I/usr/X11R6/include  -I/usr/X11R6/include 
-I/usr/X11R6/include -O2 -march=k8 -pipe -fomit-frame-pointer -fforce-addr  
-L/usr/X11R6/lib -L/usr/X11R6/lib   -o 3ddeskd -L/usr/lib -lImlib2 -lfreetype 
-lz -lm -ldl -lXext -lXext -lX11 -L/usr/X11R6/lib -lglut -lGLU -lGL  -lSM 
-lICE -lSM -lICE  -L/usr/X11R6/lib -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt 
-lXi  -lm   3ddeskd.o xutil.o arrange.o util.o win.o  -lm -lXxf86vm -lXext   
-lSM -lICE -lSM -lICE 
arrange.o(.text+0xce65): In function 
`CylinderArrangement::calculate_faces(VDesktops&)': 
: undefined reference to `CylinderArrangement::two_face_gap' 
collect2: ld returned 1 exit status 
make[1]: *** [3ddeskd] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/3ddesktop-0.2.6/work/3ddesktop-0.2.6' 
make: *** [all] Error 2 
 
!!! ERROR: x11-misc/3ddesktop-0.2.6 failed. 
!!! Function src_compile, Line 24, Exitcode 2 
!!! (no error message) 

Expected Results:  
emerge properly 

root@mach64 chris # emerge info 
Portage 2.0.50-r9 (gcc34-amd64-2004.1, gcc-3.4.1, glibc-2.3.4.20040619-r0, 
2.6.7-gentoo-r10) 
================================================================= 
System uname: 2.6.7-gentoo-r10 x86_64 4 
Gentoo Base System version 1.5.1 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5-r1 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer -fforce-addr" 
CHOST="x86_64-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer -fforce-addr" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache" 
GENTOO_MIRRORS="http://gentoo.binarycompass.org http://128.213.5.34/gentoo/ 
http://gentoo.ccccom.com ftp://gentoo.ccccom.com" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X alsa amd64 apm arts avi berkdb cdr crypt cups directfb distcc dvd 
encode esd foomaticdb gdbm gif gpm gtk imlib java jpeg kde libg++ libwww 
mikmod mod_php motif mozilla mp3 mpeg mysql ncurses nfs nls offensive ogg 
oggvorbis opengl oss pam pdflib perl php png ppds python qt quicktime readline 
samba sdl slang spell ssl tcltk tcpd truetype via xinerama xml xml2 xmms xv 
xvid zlib"
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-07-17 11:25:12 UTC
I've just committed 0.2.7 today, so please use that instead.