Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36527 - rplayd does not build when emerging rplay
Summary: rplayd does not build when emerging rplay
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Tavis Ormandy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-26 08:01 UTC by Jason Wever (RETIRED)
Modified: 2003-12-26 08:38 UTC (History)
0 users

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 Jason Wever (RETIRED) gentoo-dev 2003-12-26 08:01:51 UTC
When emerging rplay, rplayd does not succesfully link, but the ebuild will sucessfully emerge.

The error I get is;

gcc -c  -I. -I../include -I. -I./../include -I./../lib -I./../adpcm -I./../gsm -
DHAVE_CONFIG_H -DRPLAY_CONF=\"/etc/rplay.conf\" -DRPLAY_HOSTS=\"/etc/rplay.hosts
\" -DRPLAY_SERVERS=\"/etc/rplay.servers\" -DRPLAY_HELPERS=\"/etc/rplay.helpers\"
 -DRPLAY_CACHE=\"/tmp/.rplay-cache\" -DRPLAY_LOG=\"/tmp/rplay.log\" -DRPLAYDRC=\
"\~/.rplaydrc\" -mcpu=ultrasparc -mtune=ultrasparc -O2 -pipe xhash.c
gcc -o rplayd audio.o buffer.o cache.o cdrom.o command.o connection.o flange.o h
elper.o host.o misc.o native.o rplayd.o server.o sound.o spool.o timer.o ulaw.o
xhash.o  -L../librplay -lrplay -L../lib -lrp -L../adpcm -ladpcm -L../gsm -lgsm
  -lm
misc.o(.text+0xac): In function `udp_socket':
: undefined reference to `errno'
misc.o(.text+0xb4): In function `udp_socket':
: undefined reference to `errno'
misc.o(.text+0xdc): In function `udp_socket':
: undefined reference to `errno'
misc.o(.text+0xe4): In function `udp_socket':
: undefined reference to `errno'
misc.o(.text+0x170): In function `tcp_socket':
: undefined reference to `errno'
misc.o(.text+0x19c): more undefined references to `errno' follow
collect2: ld returned 1 exit status
make[1]: *** [rplayd] Error 1


This happens on sparc and x86
Comment 1 Tavis Ormandy (RETIRED) gentoo-dev 2003-12-26 08:38:08 UTC
Thanks, "append-flags -include errno.h" does the trick.