Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232928 - app-cdr/cdrdao-1.2.2-r2 - ld: undefined reference to `main'
Summary: app-cdr/cdrdao-1.2.2-r2 - ld: undefined reference to `main'
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Optical Media project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-25 15:00 UTC by Rodrigo Severo
Modified: 2009-01-31 23:54 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 Rodrigo Severo 2008-07-25 15:00:02 UTC
While updating my machine I got the following error on app-cdr/cdrdao-1.2.2-r2:

x86_64-pc-linux-gnu-gcc -DUSER_ZZSYN  -DZZLEXBUFSIZE=32000 -O2 -march=k8 -DSAVING_ALWAYS_PERMIT -fno-inline   -o antlr  antlr.o dumpcycles.o err.o fset.o hash.o misc.o scan.o bits.o dumpnode.o fcache.o gen.o lex.o mrhoist.o build.o egman.o fset2.o globals.o main.o pred.o set.o  -lnsl
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
distcc[30021] ERROR: compile (null) on localhost failed
make[3]: *** [antlr] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-cdr/cdrdao-1.2.2-r2/work/cdrdao-1.2.2/pccts/antlr'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-cdr/cdrdao-1.2.2-r2/work/cdrdao-1.2.2/pccts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-cdr/cdrdao-1.2.2-r2/work/cdrdao-1.2.2'
make: *** [all] Error 2

The on and only emerge --info:
# emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 2800+
Timestamp of tree: Fri, 25 Jul 2008 09:07:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -fomit-frame-pointer -DSAVING_ALWAYS_PERMIT"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=k8 -fomit-frame-pointer -DSAVING_ALWAYS_PERMIT"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distcc distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo http://prometheus.cs.wmich.edu/gentoo ftp://ftp.wallawalla.edu/pub/mirrors/ftp.gentoo.org http://mirror.fslutd.org/linux/distributions/gentoo/ http://gentoo.osuosl.org/"
LINGUAS="en pt_BR"
MAKEOPTS="-j5"
PKGDIR="/var/packages"
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 /usr/local/portage-fabrica"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acpi alsa amd64 arts audiofile avi bzip2 bzlib cairo cddb cdparanoia cdr cli cracklib crypt cups dbus dga dri dts dvd dvdr dvdread edl eds emboss encode evo faac faad fam fame ffmpeg firefox flac foomaticdb fortran gd gdbm gif gimpprint gmp gpm hal iconv imagemagick isdnlog jbig jpeg jpeg2k kde kdeenablefinal lcms ldap live lzo mad matroska md5sum midi mikmod mjpeg mmx mmxext mng mp3 mpeg mudflap musepack musicbrainz ncurses nls nptl nptlonly ogg oggvorbis opengl openmp oss pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection samba sdl session sndfile speex spell spl sse sse2 ssl subversion svg tcpd tga theora tiff tk truetype unicode usb utempter vcd vorbis wmf x264 xine xinerama xml xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias auth_basic authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir env expires filter headers imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pt_BR" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2008-07-29 20:21:36 UTC
Same without distcc?
Comment 2 Rodrigo Severo 2008-08-08 12:55:51 UTC
(In reply to comment #1)
> Same without distcc?

The emerge was completed successfully without distcc.

Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2009-01-31 23:54:25 UTC
Not a cdrdao bug