Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 130796
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Dialup Developers <net-dialup@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Charles Hemingway <pincushionman@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 130796 depends on: Show dependency tree
Bug 130796 blocks: 129413
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-21 19:41 0000
emerge --info follows the error.  Thanks to all for looking into this.
Compiles fine with LDFLAGS commented out or conservative LDFLAGS of "-Wl,-O1"
in make.conf
[snip]
gcc -march=pentium-m -O2 -pipe -Wall -g -I. -DCONFIG_DEBUG_MODEM
-DSUPPORT_ALSA=1   -o modem_test.o -c modem_test.c
gcc -Wl,-O1,--as-needed -lasound -o slmodemd modem_main.o modem_cmdline.o
modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o
modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o
dsplibs.o sysdep_common.o
gcc -Wl,-O1,--as-needed -lasound -o modem_test modem_test.o modem_cmdline.o
modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o
modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o
dsplibs.o sysdep_common.o
modem_main.o: In function `alsa_device_setup':
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:148:
undefined reference to `snd_mixer_open'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:153:
undefined reference to `snd_mixer_attach'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:158:
undefined reference to `snd_mixer_selem_register'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:163:
undefined reference to `snd_mixer_load'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:169:
undefined reference to `snd_mixer_first_elem'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:169:
undefined reference to `snd_mixer_elem_next'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:170:
undefined reference to `snd_mixer_selem_get_name'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:172:
undefined reference to `snd_mixer_selem_get_name'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:182:
undefined reference to `snd_mixer_close'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:201:
undefined reference to `snd_pcm_open'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:207:
undefined reference to `snd_pcm_open'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:213:
undefined reference to `snd_pcm_poll_descriptors'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:223:
undefined reference to `snd_output_stdio_attach'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:174:
undefined reference to `snd_mixer_selem_get_name'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:150:
undefined reference to `snd_strerror'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:199:
undefined reference to `snd_strerror'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:155:
undefined reference to `snd_strerror'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:160:
undefined reference to `snd_strerror'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:165:
undefined reference to `snd_strerror'
modem_main.o:/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:209:
more undefined references to `snd_strerror' follow
modem_main.o: In function `alsa_device_release':
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:230:
undefined reference to `snd_pcm_close'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:231:
undefined reference to `snd_pcm_close'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:239:
undefined reference to `snd_mixer_close'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:234:
undefined reference to `snd_mixer_selem_set_playback_switch_all'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:236:
undefined reference to `snd_mixer_selem_set_playback_switch_all'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:238:
undefined reference to `snd_mixer_selem_set_playback_switch_all'
modem_main.o: In function `alsa_xrun_recovery':
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:250:
undefined reference to `snd_pcm_prepare'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:256:
undefined reference to `snd_pcm_format_set_silence'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:257:
undefined reference to `snd_pcm_writei'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:262:
undefined reference to `snd_pcm_start'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:252:
undefined reference to `snd_strerror'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:264:
undefined reference to `snd_strerror'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:259:
undefined reference to `snd_strerror'
modem_main.o: In function `alsa_device_read':
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:276:
undefined reference to `snd_pcm_readi'
modem_main.o: In function `alsa_device_write':
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:295:
undefined reference to `snd_pcm_writei'
modem_main.o: In function `setup_stream':
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:335:
undefined reference to `snd_pcm_hw_params_malloc'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:340:
undefined reference to `snd_pcm_hw_params_any'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:345:
undefined reference to `snd_pcm_hw_params_set_access'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:337:
undefined reference to `snd_strerror'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:355:
undefined reference to `snd_pcm_hw_params_set_format'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:360:
undefined reference to `snd_pcm_hw_params_set_channels'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:366:
undefined reference to `snd_pcm_hw_params_set_rate_near'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:377:
undefined reference to `snd_pcm_hw_params_set_period_size_near'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:388:
undefined reference to `snd_pcm_hw_params_set_buffer_size_near'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:397:
undefined reference to `snd_pcm_hw_params'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:402:
undefined reference to `snd_pcm_prepare'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:407:
undefined reference to `snd_pcm_hw_params_free'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:409:
undefined reference to `snd_pcm_sw_params_malloc'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:414:
undefined reference to `snd_pcm_sw_params_current'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:419:
undefined reference to `snd_pcm_sw_params_set_start_threshold'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:424:
undefined reference to `snd_pcm_sw_params_set_avail_min'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:429:
undefined reference to `snd_pcm_sw_params_set_xfer_align'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:434:
undefined reference to `snd_pcm_sw_params'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:439:
undefined reference to `snd_pcm_sw_params_free'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:342:
undefined reference to `snd_strerror'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:347:
undefined reference to `snd_strerror'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:442:
undefined reference to `snd_pcm_dump'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:357:
undefined reference to `snd_strerror'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:362:
undefined reference to `snd_strerror'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:399:
undefined reference to `snd_strerror'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:404:
undefined reference to `snd_strerror'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:368:
undefined reference to `snd_strerror'
modem_main.o:/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:411:
more undefined references to `snd_strerror' follow
modem_main.o: In function `alsa_start':
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:462:
undefined reference to `snd_pcm_format_set_silence'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:468:
undefined reference to `snd_pcm_writei'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:475:
undefined reference to `snd_pcm_link'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:480:
undefined reference to `snd_pcm_start'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:477:
undefined reference to `snd_strerror'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:482:
undefined reference to `snd_strerror'
modem_main.o: In function `alsa_stop':
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:494:
undefined reference to `snd_pcm_drop'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:495:
undefined reference to `snd_pcm_nonblock'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:496:
undefined reference to `snd_pcm_drain'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:497:
undefined reference to `snd_pcm_nonblock'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:498:
undefined reference to `snd_pcm_unlink'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:499:
undefined reference to `snd_pcm_hw_free'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:500:
undefined reference to `snd_pcm_hw_free'
modem_main.o: In function `alsa_ioctl':
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:513:
undefined reference to `snd_mixer_selem_set_playback_switch_all'
/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem/modem_main.c:518:
undefined reference to `snd_mixer_selem_set_playback_volume_all'
collect2: ld returned 1 exit status
make[1]: *** [slmodemd] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/var/tmp/portage/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem'
make: *** [modem] Error 2

!!! ERROR: net-dialup/slmodem-2.9.11_pre20051101 failed.
-----------------------------------------------------------------------------
chemingway@traveler ~ $ emerge --info
Portage 2.1_pre7-r5 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1,
2.6.16-gentoo-r2 i686)
=================================================================
System uname: 2.6.16-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.12.0_pre17
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/2/share/config
/usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown
/usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks fixpackages metadata-transfer
parallel-fetch prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/
ftp://gentoo.chem.wisc.edu/gentoo/ http://mirror.espri.arizona.edu/gentoo/"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="en ja"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/xgl-coffee
/usr/local/xgl-testing"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 7zip X X509 a52 aac aalib acl acpi ada akode alsa amarok amd amr ao
apache2 apm arts artworkextra asf async audacious audiofile automount avi
bash-completion berkdb bidi binfilter bitmap-fonts bonobo bzip2 c++ cairo
cardbus ccache cdda cdio cdr cgi chroot cjk clamav clamd clearcase cli
commercial corba cpudetection crypt crypto_openssl css cups curl cvs cxx daap
dbus dcc devil dhcp dio directfb djvu dlloader double-precision dpms dri dts dv
dvb dvd dvdr dvdread dvi dxr3 edl eds elf emboss encode esd ethereal evo exif
exscalibar extraicons extramodules fastcgi fat fbcon fbsplash ffmpeg firefox
flac fltk fmod font-server fontconfig foomaticdb fortran gb gcj gdbm ggi gif
glitz glut glx gnome gnome-print gnutls gphoto2 gpm gstreamer gtk gtk2 gzip hal
hash haskell hbci hfs hpn httpd icc idn ieee1394 image imagemagick imap imlib
innodb iplsrc iproute2 ipv6 isdnlog java javascript jfs jikes jit john jpeg
jpeg2k jumpplay kde kdepim kerberos kexi kig-scripting kqemu krb4 ladspa lame
latex lcms ldap lesstif libcaca libclamav libdsk libg++ libnotify libvisual
libwww live lm_sensors logrotate logwatch lzo lzw mad mail matroska md5sum
mikmod mime mmx mmxext mng mod modplug mono motif mouse mozilla mozsvg mp3 mp4
mp4live mpd-mad mpeg mpeg2 mplayer msn mssql mudflap musepack music musicbrainz
mysql mysqli mythtv mzscheme nas nautilus ncurses net network neural nfs njb
nls nptl nptlonly nsplugin ntfs ntlm ntlm_unsupported_patch oav ocaml odbc
offensive ofx ogg ogre ole openal openexr opengl openssh openssl pam pascal
pcmcia pcntl pcre pdf perforce perl pertty pheaders php pic plib pmu png pnp
postgres povray pppd print python pyzor qemu-fast qt quicktime quotas radiotap
radius rar razor rc5 rdesktop readline real reflection reiser4 reiserfs remix
rpm rrdcgi rrdtool rtc ruby samba sane sasl scanner sdl search sensord session
sftp shorten shout sid skey skins slang slp smime smux sndfile snmp soundtouch
speech speedo speex spell spf spl sql sqlite sse sse-filters sse2 ssl stream
subject-rewrite subp subtitles subversion svg svga svgz swat syslog sysvipc
szip t1lib tcltk tcpd tcpmd5 tetex theora thesaurus threads tidy tiff timidity
truetype truetype-fonts type1 type1-fonts udev unicode urandom usb userlocales
utf8 vcd vfat video_cards_ati video_cards_fglrx video_cards_glint
video_cards_v4l video_cards_vesa video_cards_vga vim-with-x vlm vorbis
widescreen wifi win32codecs winbind wma wmf wxwindows x264 xanim xcomposite
xface xfs xine xml xml2 xmlreader xmlrpc xmlwriter xmms xosd xpm xprint xrandr
xscreensaver xv xvid xvmc zeroconf zip zlib elibc_glibc input_devices_keyboard
input_devices_mouse input_devices_synaptics kernel_linux linguas_en linguas_ja
userland_GNU video_cards_radeon video_cards_fbdev"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG

------- Comment #1 From Alin Năstac 2006-04-22 04:45:15 0000 -------
fixed in cvs, without revision bump.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug