Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 231977

Summary: dev-libs/libcdio-0.80 fails on bsd with FreeBSD/freebsd.c:754: error: static declaration of 'get_media_changed_freebsd' follows non-static declaration
Product: Gentoo/Alt Reporter: Dan Coats <admin>
Component: FreeBSDAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dan Coats 2008-07-16 16:35:54 UTC
dev-libs/libcdio-0.80 fails on bsd with FreeBSD/freebsd.c:754: error: static declaration of 'get_media_changed_freebsd' follows non-static declaration 


Reproducible: Always

Steps to Reproduce:
1.emerge =dev-libs/libcdio-0.80


Actual Results:  
/bin/bash ../../libtool --tag=CC   --mode=compile i686-gentoo-freebsd6.2-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/driver -I../../include/    -O2 -mtune=i686 -pipe -Wall -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wunused -Wpointer-arith -Wwrite-strings -Wnested-externs -Wno-sign-compare -c -o freebsd.lo `test -f 'FreeBSD/freebsd.c' || echo './'`FreeBSD/freebsd.c
libtool: compile:  i686-gentoo-freebsd6.2-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/driver -I../../include/ -O2 -mtune=i686 -pipe -Wall -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wunused -Wpointer-arith -Wwrite-strings -Wnested-externs -Wno-sign-compare -c ds.c  -fPIC -DPIC -o .libs/ds.o
libtool: compile:  i686-gentoo-freebsd6.2-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/driver -I../../include/ -O2 -mtune=i686 -pipe -Wall -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wunused -Wpointer-arith -Wwrite-strings -Wnested-externs -Wno-sign-compare -c FreeBSD/freebsd.c  -fPIC -DPIC -o .libs/freebsd.o
FreeBSD/freebsd.c:754: error: static declaration of 'get_media_changed_freebsd' follows non-static declaration
FreeBSD/freebsd.h:161: error: previous declaration of 'get_media_changed_freebsd' was here
gmake[3]: *** [freebsd.lo] Error 1
gmake[3]: *** Waiting for unfinished jobs....
libtool: compile:  i686-gentoo-freebsd6.2-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/driver -I../../include/ -O2 -mtune=i686 -pipe -Wall -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wunused -Wpointer-arith -Wwrite-strings -Wnested-externs -Wno-sign-compare -c ds.c -o ds.o >/dev/null 2>&1
gmake[3]: Leaving directory `/var/tmp/portage/dev-libs/libcdio-0.80/work/libcdio-0.80/lib/driver'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/var/tmp/portage/dev-libs/libcdio-0.80/work/libcdio-0.80/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/dev-libs/libcdio-0.80/work/libcdio-0.80'
gmake: *** [all] Error 2
 * 
 * ERROR: dev-libs/libcdio-0.80 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2501:  Called die
 * The specific snippet of code:
 *       emake || die "make failed"
 *  The die message:
 *   make failed
Comment 1 Alexis Ballier gentoo-dev 2008-07-16 16:45:11 UTC
you already reported this...

*** This bug has been marked as a duplicate of bug 227809 ***
Comment 2 Dan Coats 2008-07-16 18:30:52 UTC
Sorry Alexis forgot that one.