Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146610 - media-gfx/gphoto2-2.2.0 doesn't compile: undefined references
Summary: media-gfx/gphoto2-2.2.0 doesn't compile: undefined references
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-06 14:42 UTC by Fernando Usero
Modified: 2007-01-15 10:37 UTC (History)
1 user (show)

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 Fernando Usero 2006-09-06 14:42:20 UTC
everytime i try to compile gphoto2-2.2.0 i get this:

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/gphoto2-2.2.0/work/gphoto2-2.2.0 ...
/usr/portage/media-gfx/gphoto2/gphoto2-2.2.0.ebuild: line 30: eautoreconf: command not found
 * econf: updating gphoto2-2.2.0/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating gphoto2-2.2.0/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=powerpc-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-nls --with-cdk --without-aalib --without-jpeg --with-exif --with-readline --build=powerpc-unknown-linux-gnu
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 POSIX sh $() command substitution... yes
checking for powerpc-unknown-linux-gnu-gcc... powerpc-unknown-linux-gnu-gcc
checking for C compiler default output file name... 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 powerpc-unknown-linux-gnu-gcc accepts -g... yes
checking for powerpc-unknown-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of powerpc-unknown-linux-gnu-gcc... gcc3
checking how to run the C preprocessor... powerpc-unknown-linux-gnu-gcc -E
checking build system type... powerpc-unknown-linux-gnu
checking host system type... powerpc-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by powerpc-unknown-linux-gnu-gcc... /usr/powerpc-unknown-linux-gnu/bin/ld
checking if the linker (/usr/powerpc-unknown-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/powerpc-unknown-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
...........
config.status: creating po/Makefile

Configuration (gphoto2 2.2.0):

  Build
    Source code location:          .
    Compiler:                      powerpc-unknown-linux-gnu-gcc

  Features
    Use translations:              yes
    libgphoto2:                    yes
    pthread support:               yes (-lpthread)
    Interactive config support:    yes
    JPEG support:                  no (not requested)
    libexif:                       yes
    Text preview support:          no (not requested)
    use popt library:              yes
    popt libs:                     -L/usr/ -lpopt
    popt cppflags:                 -I/usr/include
    Readline support:              yes (doesn't require explicit -lncurses)

...............
powerpc-unknown-linux-gnu-gcc -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing -Wall -g -o gphoto2 gphoto2-gphoto2-cmd-config.o gphoto2-actions.o gphoto2-foreach.o gphoto2-gp-params.o gphoto2-main.o gphoto2-version.o gphoto2-range.o gphoto2-shell.o  -L/usr/local/lib /usr/lib/libcdk.so -lncurses -lpthread /usr/lib/libexif.so -lreadline /usr/local/lib/libgphoto2.so /usr/local/lib/libgphoto2_port.so -lm -L/usr/ /usr/lib/libpopt.so
gphoto2-actions.o: In function `action_camera_wait_event':
/var/tmp/portage/gphoto2-2.2.0/work/gphoto2-2.2.0/gphoto2/actions.c:950: undefined reference to `gp_camera_wait_for_event'
gphoto2-main.o: In function `save_camera_file_to_file':
/var/tmp/portage/gphoto2-2.2.0/work/gphoto2-2.2.0/gphoto2/main.c:766: undefined reference to `gp_system_is_file'
collect2: ld returned 1 exit status
make[2]: *** [gphoto2] Error 1
make[2]: se sale del directorio `/var/tmp/portage/gphoto2-2.2.0/work/gphoto2-2.2.0/gphoto2'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/var/tmp/portage/gphoto2-2.2.0/work/gphoto2-2.2.0'
make: *** [all] Error 2

!!! ERROR: media-gfx/gphoto2-2.2.0 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 936:   Called src_compile
  gphoto2-2.2.0.ebuild, line 39:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.




 # emerge --info
Portage 2.1.1_rc1-r5 (default-linux/ppc/2004.1, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r7 ppc)
=================================================================
System uname: 2.6.17-gentoo-r7 ppc 7455, altivec supported
Gentoo Base System version 1.12.4
Last Sync: Mon, 01 Mar 2004 17:49:59 +0000
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.2.3-r5, 2.3.5, 2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.inode.at/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.datapipe.net/gentoo"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS=""
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa altivec apache2 autofs berkdb bitmap-fonts bzip2 cairo cdr chm cli crypt css cups dbus dedicated dga directfb dlloader dnd doc dri dv dvb dvd dvdr dvdread eds elibc_glibc emacs emboss encode evo exif fax fbcon ffmpeg font-server foreign-package fortran freetds ftp gb gd gif gnome gnomedb gnutls gpg gphoto2 gpm gps gstreamer gtk gtk2 hal howl imagemagick imap innodb input_devices_keyboard input_devices_mouse ipod ipv6 isdnlog java javascript jikes jpeg junit kde kerberos kernel_linux krb4 ladcca lcms ldap libwww mad maildir mjpeg mono motif mozilla mp3 mpeg msn mysql ncurses network nls nptl nptlonly offensive ogg oggvorbis ole opengl pam pcmcia pcre pdf pdflib pear perl png postgres ppc pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl spreadsheet ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU vcd video_cards_ati video_cards_fbdev video_cards_radeon video_cards_vesa vorbis webservices wv wxwindows xine xml xml2 xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS


i have googled a while but didn't find anything relevant.I also tried unmerging installed version and merging the problematic one, but didn't work :(
Comment 1 Matthias Schwarzott gentoo-dev 2006-12-20 13:40:50 UTC
what is the version of libgphoto2 you are compiling it against?
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-01-15 10:37:48 UTC
Get back to us...