hi,
i'm building libaacs from source on linux/64.
cd /usr/local/src/libaacs
git log | head -n 5
commit 863e0a50ed9ee7b9bf4695a74bc4d607d12a67ff
Author: npzacs <[email protected]>
Date: Mon Mar 4 14:44:13 2013 +0200
0.6.0 release
using,
gcc (SUSE Linux) 4.8.0 20130429 [gcc-4_8-branch revision 198420]
at build, configure's OK,
./bootstrap
./configure --libdir=/usr/local/lib64
but make fails,
make -j1
...
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.8
-DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE
-D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs
-I/usr/lib64/dbus-1.0/include -I/usr/lib64/glib-2.0/include
-Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
-Wcast-qual -Wwrite-strings -Wtype-limits -Wundef
-Wmissing-prototypes -Wshadow
-Werror=implicit-function-declaration -Wextra -Winline -O3
-fomit-frame-pointer -MT mmc.lo -MD -MP -MF .deps/mmc.Tpo -c -o
mmc.lo `test -f 'libaacs/mmc.c' || echo './'`libaacs/mmc.c
libtool: compile: /usr/bin/gcc-4.8 -DHAVE_CONFIG_H -I. -I..
-std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile
-Ilibaacs -I/usr/lib64/dbus-1.0/include
-I/usr/lib64/glib-2.0/include -Wall -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings
-Wtype-limits -Wundef -Wmissing-prototypes -Wshadow
-Werror=implicit-function-declaration -Wextra -Winline -O3
-fomit-frame-pointer -MT mmc.lo -MD -MP -MF .deps/mmc.Tpo -c
libaacs/mmc.c -fPIC -DPIC -o .libs/mmc.o
libaacs/mmc.c: In function 'mmc_open':
libaacs/mmc.c:862:5: error: implicit declaration of function
'realpath' [-Werror=implicit-function-declaration]
if (!file_path || !realpath(path, file_path)) {
^
cc1: some warnings being treated as errors
make[3]: *** [mmc.lo] Error 1
make[3]: Leaving directory `/usr/local/src/libaacs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/libaacs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/libaacs'
make: *** [all] Error 2
which appear to come from
grep ^CFLAGS Makefile
CFLAGS = -I/usr/lib64/dbus-1.0/include
-I/usr/lib64/glib-2.0/include -Wall
-Wdisabled-optimization -Wpointer-arith
-Wredundant-decls -Wcast-qual -Wwrite-strings
-Wtype-limits -Wundef -Wmissing-prototypes -Wshadow
-Werror=implicit-function-declaration -Wextra -Winline
-O3 -fomit-frame-pointer
That looks like a purposeful `-Werror=...`, so blindly rm'ing seems
unwise.
Bug in the code, or my build ENV?
darx
_______________________________________________
libaacs-devel mailing list
[email protected]
http://mailman.videolan.org/listinfo/libaacs-devel