Trying to compile hydrogen but no luck. media-sound/hydrogen-0.9.3-r3 USE="flac jack ladspa oss -alsa -debug -doc" # emerge hydrogen (..) ----------------------------------------------------------------- Now type make to build Hydrogen. ----------------------------------------------------------------- If you're not a member of hydrogen-dev mailing list yet, please join. Please see http://www.hydrogen-music.org for details. src/lib/Hydrogen.cpp: In function ‘int randomValue(int)’: src/lib/Hydrogen.cpp:208: error: ‘rand’ was not declared in this scope src/lib/Hydrogen.cpp: In function ‘float getGaussian(float)’: src/lib/Hydrogen.cpp:216: error: ‘rand’ was not declared in this scope src/lib/Hydrogen.cpp:216: error: ‘RAND_MAX’ was not declared in this scope src/lib/Hydrogen.cpp: In function ‘void audioEngine_init()’: src/lib/Hydrogen.cpp:293: error: ‘srand’ was not declared in this scope make[1]: *** [src/Hydrogen.o] Error 1 make: *** [hydrogenPlayer] Error 2 # emerge --info Portage 2.2_rc8 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.24-zen3-gen2 i686) ================================================================= System uname: Linux-2.6.24-zen3-gen2-i686-AMD_Athlon-tm-_XP_2600+-with-glibc2.0 Timestamp of tree: Thu, 14 Aug 2008 07:04:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62-r1 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer" CHOST="i686-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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch prelink sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS=" #http://gentoo.prz.rzeszow.pl ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" LANG="pl_PL.UTF8" LC_ALL="pl_PL.UTF8" LDFLAGS="-Wl,-O1" LINGUAS="pl" MAKEOPTS="-j2 -s" PKGDIR="/usr/portage/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="/usr/portage/distfiles/porttmp/" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/oss-overlay /usr/local/portage/layman/mpd /usr/local/portage/layman/roslin /usr/local/portage/layman/pro-audio /usr/local/portage/layman/zugaina /usr/local/portage/layman/emdzientoo /usr/local/portage/local-overlay /usr/local/portage/custom-kernels" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 7zip X a52 aac aalib ace acl acpi asf audacious audiofile avi bash-completion berkdb bluetooth branding bzip2 cairo cdaudio cddb cdparanoia cdr cli compress cpio cracklib crypt css cups dbus directfb dri dssi dts dv dvd dvdnav dvdr dvdread eds emboss encode evo exif fbcon ffmpeg firefox flac flash fluxbox fortran ftp gcj gdbm gif gnuplot gnutls gphoto2 gpm gsm gtk gtk2 hyperestraier iconv imagemagick imap imlib isdnlog jabber jack jce jpeg kerberos kqemu ladspa lame latex libcaca libnotify libsexy live lm_sensors mad maildir mailwrapper matroska mbox midi mikmod mime mmx mmxext modplug mp3 mpeg mplayer mudflap musepack ncurses newspr nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl openmp oss oss4 pam pcre pdf perl plotutils png pop ppds pppd print printer python qt3 qt3support qt4 quicktime radio rar readline real recode reflection sasl sdl sensord session slang smtp sndfile sox spell spl srt sse ssl startup-notification streamripper svg sysfs tcl tcpd tetex theora threads tiff tk truetype unicode usb userpriv v4l v4l2 vcd vcdimager vesafb-tng video vidix vim-syntax vim-with-x vorbis vst wavepack win32codecs wma wmf wmv x264 x86 xchattext xcomposite xface xine xml xorg xosd xscreensaver xv xvid zip zlib zsh-completion zynaddsubfx" ALSA_CARDS="emu10k1" 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="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Expected Results: media-sound/hydrogen-0.9.3-r3 should compile fine
should be fixed now, thanks for reporting
It's working fine now. Thank You!