Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/usr/bin/ld: Dwarf Error
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
samo
Guru
Guru


Joined: 13 Mar 2004
Posts: 436

PostPosted: Sat Dec 17, 2011 10:31 pm    Post subject: /usr/bin/ld: Dwarf Error Reply with quote

media-gfx/splashutils-1.5.4.4 fails to compile.
Code:
# emerge -Duv splashutils

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] media-gfx/splashutils-1.5.4.4  USE="fbcondecor png -gpm -hardened -mng -truetype" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-gfx/splashutils-1.5.4.4
 * splashutils-lite-1.5.4.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                   [ ok ]
 * splashutils-gentoo-1.0.17.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                  [ ok ]
 * miscsplashutils-0.1.8.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                      [ ok ]
 * libpng-1.4.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                               [ ok ]
 * jpegsrc.v8a.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                 [ ok ]
 * freetype-2.3.12.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                            [ ok ]
 * zlib-1.2.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking splashutils-lite-1.5.4.4.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work
>>> Unpacking splashutils-gentoo-1.0.17.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work
>>> Unpacking miscsplashutils-0.1.8.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work
>>> Unpacking libpng-1.4.3.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work
>>> Unpacking jpegsrc.v8a.tar.gz to /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work
>>> Unpacking freetype-2.3.12.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work
>>> Unpacking zlib-1.2.3.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work
>>> Source unpacked in /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work
>>> Preparing source in /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/splashutils-1.5.4.4 ...
 * Applying splashutils-1.5.4.4-gentoo-typo-fix.patch ...                                                             [ ok ]
 * Running eautoreconf in '/var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/splashutils-1.5.4.4' ...
 * Running aclocal -I m4 ...                                                                                          [ ok ]
 * Running libtoolize --copy --force --install --automake ...                                                         [ ok ]
 * Running aclocal -I m4 ...                                                                                          [ ok ]
 * Running autoconf ...                                                                                               [ ok ]
 * Running autoheader ...                                                                                             [ ok ]
 * Running automake --add-missing --copy ...                                                                          [ ok ]
 * Running elibtoolize in: splashutils-1.5.4.4/libs/jpeg-8a/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 * Running elibtoolize in: splashutils-1.5.4.4/libs/freetype-2.3.12/builds/unix/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 * Running elibtoolize in: splashutils-1.5.4.4/libs/libpng-1.4.3/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 * Running elibtoolize in: splashutils-1.5.4.4/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/splashutils-1.5.4.4 ...
make CC=i686-pc-linux-gnu-gcc LIB=lib STRIP=true
i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed fbres.c -o fbres
true fbres
i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed usleep.c -o usleep
true usleep
make[1]: Entering directory `/var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/miscsplashutils-0.1.8/kbd'
i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -pipe -fomit-frame-pointer   -c -o fgconsole.o fgconsole.c
i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -pipe -fomit-frame-pointer   -c -o getfd.o getfd.c
i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed fgconsole.o getfd.o -o fgconsole
make[1]: Leaving directory `/var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/miscsplashutils-0.1.8/kbd'
 * econf: updating splashutils-1.5.4.4/libs/jpeg-8a/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating splashutils-1.5.4.4/libs/jpeg-8a/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating splashutils-1.5.4.4/libs/freetype-2.3.12/builds/unix/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating splashutils-1.5.4.4/libs/freetype-2.3.12/builds/unix/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating splashutils-1.5.4.4/libs/libpng-1.4.3/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating splashutils-1.5.4.4/libs/libpng-1.4.3/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating splashutils-1.5.4.4/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating splashutils-1.5.4.4/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-png --without-mng --without-gpm --without-ttf --without-ttf-kernel --enable-fbcondecor --docdir=/usr/share/doc/splashutils-1.5.4.4 --with-freetype2-src=libs/freetype-2.3.12 --with-jpeg-src=libs/jpeg-8a --with-lpng-src=libs/libpng-1.4.3 --with-zlib-src=libs/zlib-1.2.3 --with-essential-libdir=/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for i686-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
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 for dlfcn.h... yes
checking for objdir... .libs
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for klcc... klcc
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for ceilf in -lm... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for clock_gettime in -lrt... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for pthread.h... (cached) yes
checking for xxpthread_create in -lpthread... no
checking for pthread_create in -lpthread... (cached) yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_set_defaults in -ljpeg... yes
checking for libpng-config... /usr/bin/libpng-config
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating libs/Makefile
config.status: creating misc/Makefile
config.status: creating src/test/Makefile
config.status: creating docs/Makefile
config.status: creating scripts/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/splashutils-1.5.4.4 ...
make CC=i686-pc-linux-gnu-gcc STRIP=true
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/splashutils-1.5.4.4/missing --run autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make --silent all-recursive
Making all in libs
  CONF    libjpeg.a
  MAKE    libjpeg.a
/usr/bin/ld: warning: cannot find entry symbol main; defaulting to 0000000008048140
  CONF    libz.a
  MAKE    zlib.a
  CONF    libpng.a
  MAKE    libpng.a
Making all in src
  CREATE  fbsplash.h
Making all in .
libfbsplash.c: In Funktion »fbsplash_send«:
libfbsplash.c:696:2: Warnung: Format ist kein Zeichenkettenliteral, und keine Formatargumente
libfbsplash.c: In Funktion »fbsplash_profile«:
libfbsplash.c:650:8: Warnung: ignoring return value of »fscanf«, declared with attribute warn_unused_result
libfbsplash.c: In Funktion »fbsplash_set_evdev«:
libfbsplash.c:615:9: Warnung: ignoring return value of »fgets«, declared with attribute warn_unused_result
libfbsplash.c: In Funktion »fbsplash_check_sanity«:
libfbsplash.c:571:7: Warnung: ignoring return value of »fgets«, declared with attribute warn_unused_result
libfbsplash.c: In Funktion »fbsplash_cache_cleanup«:
libfbsplash.c:498:8: Warnung: ignoring return value of »system«, declared with attribute warn_unused_result
libfbsplash.c: In Funktion »fbsplash_parse_kcmdline«:
libfbsplash.c:177:7: Warnung: ignoring return value of »fgets«, declared with attribute warn_unused_result
libfbsplashrender.c: In Funktion »vt_cursor_enable«:
libfbsplashrender.c:598:7: Warnung: ignoring return value of »write«, declared with attribute warn_unused_result
libfbsplashrender.c: In Funktion »fbsplashr_tty_silent_init«:
libfbsplashrender.c:627:8: Warnung: ignoring return value of »write«, declared with attribute warn_unused_result
libfbsplashrender.c: In Funktion »vt_cursor_disable«:
libfbsplashrender.c:593:7: Warnung: ignoring return value of »write«, declared with attribute warn_unused_result
libfbsplashrender.c: In Funktion »fbsplashr_input_init«:
libfbsplashrender.c:216:11: Warnung: ignoring return value of »fscanf«, declared with attribute warn_unused_result
common.c: In Funktion »dev_create«:
common.c:47:6: Warnung: ignoring return value of »read«, declared with attribute warn_unused_result
image.c: In Funktion »is_png«:
image.c:171:7: Warnung: ignoring return value of »fread«, declared with attribute warn_unused_result
daemon.c: In Funktion »daemon_start«:
daemon.c:652:7: Warnung: ignoring return value of »chdir«, declared with attribute warn_unused_result
daemon.c: In Funktion »thf_switch_ttymon«:
daemon.c:476:7: Warnung: ignoring return value of »read«, declared with attribute warn_unused_result
fbsplashctl-daemon.o: In function `dcr_filter':
daemon.c:(.text+0x1e): undefined reference to `__isoc99_sscanf'
fbsplashctl-daemon.o: In function `daemon_start':
daemon.c:(.text+0xe58): undefined reference to `__isoc99_fscanf'
./.libs/libfbsplashrender.a(libfbsplashrender_la-libfbsplashrender.o): In function `fbsplashr_input_init':
libfbsplashrender.c:(.text+0x317): undefined reference to `__isoc99_fscanf'
libfbsplashrender.c:(.text+0x37a): undefined reference to `__isoc99_sscanf'
./.libs/libfbsplashrender.a(libfbsplashrender_la-common.o): In function `dev_create':
common.c:(.text+0xa5): undefined reference to `__isoc99_sscanf'
./.libs/libfbsplashrender.a(libfbsplashrender_la-image.o): In function `load_png.clone.0':
image.c:(.text+0x434): undefined reference to `__longjmp_chk'
/var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/splashutils-1.5.4.4/src/.libs/libfbsplash.a(libfbsplash.o): In function `fbsplash_get_res':
libfbsplash.c:(.text+0x266): undefined reference to `__isoc99_sscanf'
/var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/splashutils-1.5.4.4/src/.libs/libfbsplash.a(libfbsplash.o): In function `fbsplash_check_daemon':
libfbsplash.c:(.text+0xb58): undefined reference to `__isoc99_fscanf'
libfbsplash.c:(.text+0xbbb): undefined reference to `__isoc99_fscanf'
/var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/splashutils-1.5.4.4/src/.libs/libfbsplash.a(libfbsplash.o): In function `fbsplash_profile':
libfbsplash.c:(.text+0xecb): undefined reference to `__isoc99_fscanf'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../../lib/libjpeg.a(jmemmgr.o): In function `jinit_memory_mgr':
(.text+0x1005): undefined reference to `__isoc99_sscanf'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../../lib/libpng15.a(libpng15_la-pngread.o): In function `png_create_read_struct_2':
(.text+0x72): undefined reference to `__longjmp_chk'
collect2: ld returned 1 exit status
make[4]: *** [fbsplashctl] Fehler 1
make[3]: *** [all-recursive] Fehler 1
make[2]: *** [all] Fehler 2
make[1]: *** [all-recursive] Fehler 1
make: *** [all] Fehler 2
emake failed
 * ERROR: media-gfx/splashutils-1.5.4.4 failed (compile phase):
 *   failed to build splashutils
 *
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 2816:  Called die
 * The specific snippet of code:
 *       emake CC="${CC}" STRIP="true" || die "failed to build splashutils";
 *
 * If you need support, post the output of 'emerge --info =media-gfx/splashutils-1.5.4.4',
 * the complete build log and the output of 'emerge -pqv =media-gfx/splashutils-1.5.4.4'.
 * The complete build log is located at '/var/tmp/portage/media-gfx/splashutils-1.5.4.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/splashutils-1.5.4.4/temp/environment'.
 * S: '/var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/splashutils-1.5.4.4'

Code:
# emerge --info
Portage 2.1.10.44 (default/linux/x86/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.1.10-gentoo-r1 i686)
=================================================================
System uname: Linux-3.1.10-gentoo-r1-i686-AMD_Athlon-tm-_XP_3200+-with-gentoo-2.0.3
Timestamp of tree: Tue, 31 Jan 2012 19:30:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="32bit 3dnow 3dnowext X a52 aac acl acpi akonadi alsa amarok amazon apache2 audiofile avi berkdb branding bzip2 cairo caps cdda cdr cjk cli consolekit cracklib crypt css cups curl cxx dbus declarative disk-partition dri dts dvb dvd dvdr dvdread embedded emboss encode exif extras fam fbcondecor ffmpeg firefox flac fortran gd gdbm gdu gif gimp gimpprint gnome-keyring gnutls gpg gphoto2 gpm gstreamer gtk2 history hpcups iconv ipv6 java jpeg json kate kde kdeenablefinal kerberos kipi lan lcms ldap libnotify libv4l2 libwww mad mjpeg mmx mng modules mp3 mp4 mpeg mplayer msn mudflap mysql mythtv ncurses nls nptl nptlonly nsplugin odbc ogg oggvorbis opengl openmp pam pango pcre pcsc-lite pdf phonon plasma png policykit posix ppds pppd python qt3support qt4 quicktime rdesktop readline reiserfs rtc rtsp samba scanner sdl semantic-desktop session sip slp smartcard snmp spell sql sse ssl startup-notification stream stun svg sysfs tcltk tcpd threads threadsafe tiff truetype udev unicode usb userlocales v4l v4l2 vcd video vlc vorbis wav webkit wicd win32codecs winbind x264 x86 xcb xine xml xorg xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authz_host cgi dir env headers mime php rewrite" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev vga radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I've googled around a little bit but didn't find a solution. I guess the root cause has something to do with the following lines:
Code:
Making all in libs
  CONF    libjpeg.a
  MAKE    libjpeg.a
/usr/bin/ld: warning: cannot find entry symbol main; defaulting to 0000000008048140
  CONF    libz.a
  MAKE    zlib.a
  CONF    libpng.a
  MAKE    libpng.a

When I try to compile libjpeg in splashutils I get the following error:
Code:
libjpeg # make
make  all-am
make[1]: Entering directory `/var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/splashutils-1.5.4.4/libs/libjpeg'
  CCLD   cjpeg
/usr/bin/ld: Dwarf Error: Offset (201719810) greater than or equal to .debug_str size (37331).
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 0.
./.libs/libjpeg.so: In function `_start':
(.text+0x2d158): multiple definition of `_start'
/usr/lib/klibc/lib/crt0.o:/mnt/store/portage/portage/dev-libs/klibc-1.5.20/work/klibc-1.5.20/usr/klibc/arch/i386/crt0.S:17: first defined here
cjpeg.o: In function `select_file_type':
/var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/splashutils-1.5.4.4/libs/jpeg-8a/cjpeg.c:95: undefined reference to `ungetc'
rdswitch.o: In function `read_scan_integer':
/var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/splashutils-1.5.4.4/libs/jpeg-8a/rdswitch.c:143: undefined reference to `ungetc'
make[1]: *** [cjpeg] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/splashutils-1.5.4.4/libs/libjpeg'
make: *** [all] Fehler 2

Does someone have experiences with this kind of problem? Any idea? Could someone help me?


Last edited by samo on Tue Jan 31, 2012 8:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
samo
Guru
Guru


Joined: 13 Mar 2004
Posts: 436

PostPosted: Tue Jan 31, 2012 8:34 pm    Post subject: Reply with quote

I couldn't solve the problem until now?
Back to top
View user's profile Send private message
BigBox37
n00b
n00b


Joined: 25 Dec 2010
Posts: 23

PostPosted: Tue Apr 10, 2012 10:00 am    Post subject: Splashutils fails to compile with libjpeg error Reply with quote

I guess people have probably fixed this one themselves by now. But here is how I bypassed this error:

remerge libjpeg-turbo with the fllowing use flags : -java +static-libs
Back to top
View user's profile Send private message
samo
Guru
Guru


Joined: 13 Mar 2004
Posts: 436

PostPosted: Tue Apr 24, 2012 9:07 pm    Post subject: Reply with quote

It doesn't help. I get the same errors like before.
Back to top
View user's profile Send private message
CkoTuHa
n00b
n00b


Joined: 27 Mar 2009
Posts: 68

PostPosted: Tue May 01, 2012 4:03 am    Post subject: Reply with quote

Faced the same problem as you. The splashutils won't emerge.

Take a look here : http://www.linuxquestions.org/questions/gentoo-87/media-gfx-splashutils-1-5-4-4-build-fail-941140/

after downgrading freetype, it still complained:


MAKE libjpeg.a
/usr/bin/ld: warning: cannot find entry symbol main; defaulting to 0000000000400200


but, I could emerge splashutils :)
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