Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233988 - media-video/vlc-0.9.0_beta2 - liblirc_plugin_la-lirc.lo: ../../include/vlc_threads.h:478: error: syntax error before "vlc_spinlock_t"
Summary: media-video/vlc-0.9.0_beta2 - liblirc_plugin_la-lirc.lo: ../../include/vlc_th...
Status: RESOLVED DUPLICATE of bug 227633
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-05 16:04 UTC by Christian Korff
Modified: 2008-08-05 17:05 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 Christian Korff 2008-08-05 16:04:43 UTC
vlc 0.9.0_beta2 fails to compile:
/bin/sh ../../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -std=
gnu99 -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../../include  -DSYS_LI
NUX `top_builddir="../.." ../../vlc-config --cflags plugin liblirc_plugin_la-
lirc.lo` -O2 -march=nocona -pipe -Wall -Wextra -Wsign-compare -Wundef -Wpoint
er-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototype
s -MT liblirc_plugin_la-lirc.lo -MD -MP -MF .deps/liblirc_plugin_la-lirc.Tpo 
-c -o liblirc_plugin_la-lirc.lo `test -f 'lirc.c' || echo './'`lirc.c
 x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../inclu
de -I../../include -DSYS_LINUX -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGE
FILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG -D__LIBVLC__ -D__PLUGIN__ -
DMODULE_NAME=lirc -DMODULE_NAME_IS_lirc -DMODULE_STRING=\"lirc\" -g -O0 -O2 -
march=nocona -pipe -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad
-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -MT liblirc_
plugin_la-lirc.lo -MD -MP -MF .deps/liblirc_plugin_la-lirc.Tpo -c lirc.c  -fP
IC -DPIC -o .libs/liblirc_plugin_la-lirc.o
In file included from ../../include/vlc_common.h:493,
                 from lirc.c:34:
../../include/vlc_threads.h:478: error: syntax error before "vlc_spinlock_t"
../../include/vlc_threads.h:478: warning: type defaults to `int' in declarati
on of `vlc_spinlock_t'
../../include/vlc_threads.h:478: warning: data definition has no type or stor
age class
../../include/vlc_threads.h:483: error: syntax error before '*' token
../../include/vlc_threads.h: In function `vlc_spin_init':
../../include/vlc_threads.h:485: warning: implicit declaration of function `pthread_spin_init'
../../include/vlc_threads.h:485: error: `spin' undeclared (first use in this function)
../../include/vlc_threads.h:485: error: (Each undeclared identifier is reported only once
../../include/vlc_threads.h:485: error: for each function it appears in.)
../../include/vlc_threads.h: At top level:
../../include/vlc_threads.h:491: error: syntax error before '*' token
../../include/vlc_threads.h: In function `vlc_spin_lock':
../../include/vlc_threads.h:493: warning: implicit declaration of function `pthread_spin_lock'
../../include/vlc_threads.h:493: error: `spin' undeclared (first use in this function)
../../include/vlc_threads.h: At top level:
../../include/vlc_threads.h:499: error: syntax error before '*' token
../../include/vlc_threads.h: In function `vlc_spin_unlock':
../../include/vlc_threads.h:501: warning: implicit declaration of function `pthread_spin_unlock'
../../include/vlc_threads.h:501: error: `spin' undeclared (first use in this function)
../../include/vlc_threads.h: At top level:
../../include/vlc_threads.h:507: error: syntax error before '*' token
../../include/vlc_threads.h: In function `vlc_spin_destroy':
../../include/vlc_threads.h:509: warning: implicit declaration of function `pthread_spin_destroy'
../../include/vlc_threads.h:509: error: `spin' undeclared (first use in this function)
lirc.c: In function `Open':
lirc.c:97: warning: passing arg 1 of `lirc_init' discards qualifiers from pointer target type
make[5]: *** [liblirc_plugin_la-lirc.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.0_beta2/work/vlc-0.9.0-test2/modules/control'
make[4]: *** [all-recursive] Error 1

# emerge --info
Portage 2.1.4.4 (hardened/amd64/multilib, gcc-3.4.6, glibc-2.3.6-r5, 2.6.20-gentoo-r10 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r10 x86_64 Intel(R) Pentium(R) 4 CPU 3.00GHz
Timestamp of tree: Sun, 03 Aug 2008 11:00:01 +0000
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.4.4-r14, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
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.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 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=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/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/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/src/portage-distfiles"
FEATURES="autoconfig ccache confcache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.tiscali.nl/ http://gentoo.mneisen.org/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="fr de en_GB"
PKGDIR="/usr/local/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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit 7zip X a52 aac aalib accessibility acct ace acl acpi activefilter adsl agg aiglx aim akode alsa amd64 amr amuled animgif ao aoss arj auth avahi avantgo avi background bash-completion berkdb bluetooth bonjour bzip2 cairo calendar canna cap capi cdda cddb cdparanoia cdr cdrom cgi charconv chardet chipcard chipcard2 chm cjk cracklib crypt cups dmx dri dts dv dvb dvd dvdr dvdread enca eurofile exif fax flac gdbm geoip gif gimpprint gpm gps gstreamer gtk hardened ipv6 jpeg jpeg2k justify kerberos kolab lame ldap libcaca loop-aes midi mng mp3 mpeg multilib ncurses nls nptl nptlonly ogg opengl pam perl pic png python readline scanner sdl sqlite sse2 ssl svg tcpd tiff unicode urandom usb vorbis wmf xattr xcb xinerama xml xorg xprint xv 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 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" FRITZCAPI_CARDS="fcdsl2 fcdslsl fcpci" INPUT_DEVICES="keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr de en_GB" LIRC_DEVICES="all" USERLAND="GNU" VIDEO_CARDS="ati dummy fbdev i810 mach64 nv r128 s3 s3virge sis v4l vesa vga vmware radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexis Ballier gentoo-dev 2008-08-05 17:05:15 UTC

*** This bug has been marked as a duplicate of bug 227633 ***