Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge dnd-1.1 fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
swimgeek
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2003
Posts: 124
Location: Minneapolis, MN, USA

PostPosted: Mon Mar 01, 2004 7:11 pm    Post subject: emerge dnd-1.1 fails Reply with quote

Hi,
While doing an emerge -uD world I got the following emerge failure:
Code:

>>> emerge (20 of 73) x11-libs/dnd-1.1 to /
>>> md5 src_uri ;-) dnd.1.1.tgz
>>> Unpacking source...
>>> Unpacking dnd.1.1.tgz to /var/tmp/portage/dnd-1.1/work
RUNNING FROM extra_functions.sh
 * Applying dnd-1.1-gentoo.diff...                                        [ ok ]
>>> Source unpacked.
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -march=pentium4 -O2 -pipe ) works... yes
checking whether the C compiler (gcc -march=pentium4 -O2 -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... g++
checking whether the C++ compiler (g++ -march=pentium4 -O2 -pipe ) works... yes
checking whether the C++ compiler (g++ -march=pentium4 -O2 -pipe ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether gcc needs -traditional... no
updating cache ./config.cache
creating ./config.status
creating Makefile
rm -f DragAndDrop.o
gcc  -I. -march=pentium4 -O2 -pipe  -I/usr/X11R6/include -c DragAndDrop.c
rm -f DragAndDrop.o DragAndDrop.cxx
ln -s DragAndDrop.c DragAndDrop.cxx
g++  -I. -march=pentium4 -O2 -pipe  -I/usr/X11R6/include -c DragAndDrop.cxx
DragAndDrop.c:397:8: warning: extra tokens at end of #endif directive
DragAndDrop.cxx:397:8: warning: extra tokens at end of #endif directive
rm -f libDnd.a
ar cru libDnd.a DragAndDrop.o
rm -f libDnd++.a
ar cru libDnd++.a DragAndDrop.o
ranlib libDnd++.a
ranlib libDnd.a
rm -f dndtest
gcc  -I. -march=pentium4 -O2 -pipe  -I/usr/X11R6/include -c dndtest.c
gcc  -o dndtest dndtest.o -L. -lDnd -L/usr/X11R6/lib  -lSM -lICE -lXmu -lXaw -lXt -lX11
dndtest.o(.text+0x55): In function `main':
: undefined reference to `DndInitialize'
dndtest.o(.text+0x61): In function `main':
: undefined reference to `DndRegisterRootDrop'
dndtest.o(.text+0x6d): In function `main':
: undefined reference to `DndRegisterOtherDrop'
dndtest.o(.text+0x79): In function `main':
: undefined reference to `DndRegisterIconDrop'
dndtest.o(.text+0x2eb): In function `main':
: undefined reference to `DndRegisterDragWidget'
dndtest.o(.text+0x306): In function `main':
: undefined reference to `DndRegisterDragWidget'
dndtest.o(.text+0x321): In function `main':
: undefined reference to `DndRegisterDragWidget'
dndtest.o(.text+0x33c): In function `main':
: undefined reference to `DndRegisterDragWidget'
dndtest.o(.text+0x357): In function `main':
: undefined reference to `DndRegisterDragWidget'
dndtest.o(.text+0x372): more undefined references to `DndRegisterDragWidget' follow
dndtest.o(.text+0x3d5): In function `main':
: undefined reference to `DndRegisterDropWidget'
dndtest.o(.text+0x3f0): In function `main':
: undefined reference to `DndRegisterDropWidget'
dndtest.o(.text+0x40b): In function `main':
: undefined reference to `DndRegisterDropWidget'
dndtest.o(.text+0x426): In function `main':
: undefined reference to `DndRegisterDropWidget'
dndtest.o(.text+0x441): In function `main':
: undefined reference to `DndRegisterDropWidget'
dndtest.o(.text+0x45c): more undefined references to `DndRegisterDropWidget' follow
dndtest.o(.text+0x4da): In function `DisplayDndData':
: undefined reference to `DndDataType'
dndtest.o(.text+0x4ee): In function `DisplayDndData':
: undefined reference to `DndGetData'
dndtest.o(.text+0x50b): In function `DisplayDndData':
: undefined reference to `DndDropCoordinates'
dndtest.o(.text+0x521): In function `DisplayDndData':
: undefined reference to `DndDropRootCoordinates'
dndtest.o(.text+0xad2): In function `RawDragEventHandler':
: undefined reference to `DndSetData'
dndtest.o(.text+0xb14): In function `FileDragEventHandler':
: undefined reference to `DndSetData'
dndtest.o(.text+0xb56): In function `FilesDragEventHandler':
: undefined reference to `DndSetData'
dndtest.o(.text+0xb98): In function `TextDragEventHandler':
: undefined reference to `DndSetData'
dndtest.o(.text+0xbda): In function `DirDragEventHandler':
: undefined reference to `DndSetData'
dndtest.o(.text+0xc1c): more undefined references to `DndSetData' follow
dndtest.o(.text+0xae6): In function `RawDragEventHandler':
: undefined reference to `DndHandleDragging'
dndtest.o(.text+0xb28): In function `FileDragEventHandler':
: undefined reference to `DndHandleDragging'
dndtest.o(.text+0xb6a): In function `FilesDragEventHandler':
: undefined reference to `DndHandleDragging'
dndtest.o(.text+0xbac): In function `TextDragEventHandler':
: undefined reference to `DndHandleDragging'
dndtest.o(.text+0xbee): In function `DirDragEventHandler':
: undefined reference to `DndHandleDragging'
dndtest.o(.text+0xc30): more undefined references to `DndHandleDragging' follow
collect2: ld returned 1 exit status
make: *** [dndtest] Error 1

!!! ERROR: x11-libs/dnd-1.1 failed.
!!! Function src_compile, Line 24, Exitcode 2
!!! (no error message)

Any idea as to what maybe wrong? here's the output from emerge info:
Code:

% emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.seren.com/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib acpi acpi4linux alsa apache2 arts athena bindist bonobo caps cdr chroot clamav crypt cups dga dnd doc dvd fbcon foomaticdb foreign-package gif gimpprint gpm gtk2 gtkhtml imap imlib irmc java javascript jpeg kde ldap lesstif libwww motif mozilla mpeg msn ncurses neXt nls nogcj nptl ofx oggvorbis opengl operanom2 pam pcmcia pdflib perl png pnp postgres ppds propolice python qt radeon readline sdl spell sse ssl svga tcltk tcpd tetex threads tiff truetype unicode usb video_cards_radeon vim-with-x x86 xemacs xgetdefault xml2 xmms yahoo zlib"

thanks!
Back to top
View user's profile Send private message
Mr. Chauv
n00b
n00b


Joined: 14 Sep 2003
Posts: 37

PostPosted: Mon Jun 14, 2004 5:31 pm    Post subject: Reply with quote

same problem here - but have no idea so far, too... :cry:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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