Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70477 - oxine 0.2 optarg optopt optind undeclared
Summary: oxine 0.2 optarg optopt optind undeclared
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-11-08 09:50 UTC by Hans-Christian Armingeon
Modified: 2005-05-08 15:34 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 Hans-Christian Armingeon 2004-11-08 09:50:48 UTC
odk.c: In function `get_pos_length':
odk.c:788: warning: implicit declaration of function `usleep'
if gcc -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/include -Wall -m32 -O3 -march=athlon-4 -mcpu=athlon-4 -fomit-frame-pointer -funroll-loops -pipe -MT list.o -MD -MP -MF ".deps/list.Tpo" \
  -c -o list.o `test -f 'list.c' || echo './'`list.c; \
then mv ".deps/list.Tpo" ".deps/list.Po"; \
else rm -f ".deps/list.Tpo"; exit 1; \
fi
oxine.c: In function `parse_arguments':
oxine.c:640: error: `opterr' undeclared (first use in this function)
oxine.c:640: error: (Each undeclared identifier is reported only once
oxine.c:640: error: for each function it appears in.)
oxine.c:642: warning: implicit declaration of function `getopt'
oxine.c:657: error: `optarg' undeclared (first use in this function)
oxine.c:663: error: `optopt' undeclared (first use in this function)
oxine.c:674: error: `optind' undeclared (first use in this function)
make[2]: *** [oxine.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/oxine-0.2/work/oxine-0.2/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/oxine-0.2/work/oxine-0.2/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-video/oxine-0.2 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Any suggestions?

Johnny

Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20041021-r0, 2.6.8-gentoo-r4 i686)
=================================================================
System uname: 2.6.8-gentoo-r4 i686 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.6.5
distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-m32 -O3 -march=athlon-4 -mcpu=athlon-4 -fomit-frame-pointer -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /lib/modules /opt/glftpd/etc /opt/openjms/config /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/mail/dspam /etc/terminfo /etc/env.d"
CXXFLAGS="-m32 -O3 -march=athlon-4 -mcpu=athlon-4 -fomit-frame-pointer -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.uni-muenster.de/pub/linux/distributions/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3dnowext X X509 Xaw3d aac aalib accessibility accounting acl acpi activefilter adns afs aim alsa apache2 apm arts asterisk async atm audiofile authdaemond avi bcmath berkdb bidi bitmap-fonts blender-game bluetooth bmp bonobo bootsplash boundchecking bzlib c++ calendar camaelon caps cddb cdparanoia cdr cgi chasen chroot clearpasswd codecs cpdflib crypt cscope ctype cups curl curlwrappers cyrus dbase dbm dbx dedicated devfs26 devmap dga dhcp dio directfb divx4linux djbfft drac dts dvd dvdr dvdread edl eds emacs encode esd ethereal evo exif f77 faad fam fastcgi fax fbcon fbdev fftw filepro flac flash flatfile flexresp flood fltk fluidsynth foomaticdb frascend freetds freetype frlargefiles frxp ftp gb gcj gd gd-external gdbm ggi gif gimpprint gmp gnokii gnome gnustep gnutls gphoto2 gpm gps graphviz gsm gsnd gstreamer gtk gtk2 gtkhtml guile hal howl iconv icq icu idea imagemagic imagemagick imap imlib imlib2 immqt immqt-bc inetd inifile innodb insecure-drivers intl ipalias ipv6 irda jabber jack jack-tmpfs java javascript jbig jce jikes jit jks jms joystick jpeg jpeg2k junit jython kde kerberos koffice-plugin krb4 ladcca latex lcd lcms ldap leim lesstif libcaca libg++ libgda libsamplerate libwww live lm_sensors lynxkeymap lzo lzw-tiff mad maildir maildrop mailwrapper matroska mbox mbrola mcal mcve md5sum mecab memlimit mhash mikmod mime ming mmap mmx mmx2 modelock motif mozcalendar mozilla mozsvg mpeg mpeg4 mpi mppe-mppc msn multicall multilib multitarget mysql mysql41 mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh nas ncurses netcdf nethack network neural nis nls nntp nptl nptlonly oav objc odbc offensive oggvorbis opengl oscar oss pam pcap pcmcia pcntl pcre pcsc-lite pda pdflib perl pg-hier pg-intdatetime pg-vacuumdelay php pic plotutils png pnp portaudio posix postgres povray ppds prelude procmail pvm python qt quicktime radius readline real rhino rrdtool rtc ruby samba sasl scanner sdl serial session sftplogging shaper shared sharedmem silc simplexml skey slang slp smartcard smime sndfile snmp snortsam soap sockets socks5 softquota soundtouch sox spamassassin speex spell spl sqlite sse ssl stats stencil-buffer subject-rewrite svg svga sysvipc szip tcltk tcpd tetex tga theora threads tidy tiff timidity tokenizer transcode transparent-proxy truetype unicode usb userlocales v4l v4l2 vda vdesktop vhosts vim-with-x virus-scan vpopmail wddx wifi wmf wxwindows x86 xanim xfs xim xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xscreensaver xsl xv xvid xvmc yahoo yaz zlib"
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-06 16:11:15 UTC
Did you have dev-libs/popt installed? THis can be a missing dep.
Comment 2 Hans-Christian Armingeon 2005-05-08 14:56:25 UTC
Yes, now it works.

Please add a dep. Not closing.

Johnny
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-08 15:34:19 UTC
Thanks for reporting, I added the missing dep.