v0.8.6e compiler error under FreeBSD 6.3-STABLE
Posted: 05 Mar 2008 00:35
Hi,
Compiling v0.8.6e on a FreeBSD 6.3 host ends up with the following error:
cc -Wsign-compare -Wall -O2 -fno-strict-aliasing -pipe -pthread -pipe -pthread -pthread -o libaa_plugin.so -shared -pthread -fpic -fPIC -u vlc_entry__0_8_6 -L/home/usr/ports/multimedia/vlc/work/fake//usr/local/lib -L/usr/local/lib libaa_plugin.a /usr/local/lib/libaa.so -lncurses -lm /usr/local/lib/libX11.so /usr/local/lib/libXau.so /usr/local/lib/libXdmcp.so -lrpcsvc -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/home/usr/ports/multimedia/vlc/work/fake//usr/local/include -I/home/usr/ports/multimedia/vlc/work/vlc-0.8.6e/include -I/usr/local/include/speex -I/usr/local/include -I/usr/local/include -I/usr/local/ffmpeg -DHAVE_POSTPROC_POSTPROCESS_H -I/usr/local/include -DSYS_FREEBSD6_3 -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin caca` -Wsign-compare -Wall -O2 -fno-strict-aliasing -pipe -pthread -pipe -MT libcaca_plugin_a-caca.o -MD -MP -MF ".deps/libcaca_plugin_a-caca.Tpo" -c -o libcaca_plugin_a-caca.o `test -f 'caca.c' || echo './'`caca.c; \
then mv -f ".deps/libcaca_plugin_a-caca.Tpo" ".deps/libcaca_plugin_a-caca.Po"; else rm -f ".deps/libcaca_plugin_a-caca.Tpo"; exit 1; fi
caca.c: In function `Manage':
caca.c:309: error: structure has no member named `type'
caca.c:316: error: structure has no member named `data'
caca.c:339: error: structure has no member named `data'
caca.c:342: error: structure has no member named `data'
caca.c: In function `Render':
caca.c:378: warning: `cucul_set_color' is deprecated (declared at /usr/local/include/cucul.h:313)
gmake[4]: *** [libcaca_plugin_a-caca.o] Error 1
gmake[4]: Leaving directory `/home/usr/ports/multimedia/vlc/work/vlc-0.8.6e/modules/video_output'
gmake[3]: *** [all-modules] Error 1
gmake[3]: Leaving directory `/home/usr/ports/multimedia/vlc/work/vlc-0.8.6e/modules/video_output'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/usr/ports/multimedia/vlc/work/vlc-0.8.6e/modules'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/usr/ports/multimedia/vlc/work/vlc-0.8.6e'
gmake: *** [all] Error 2
*** Error code 2
Stop in /home/usr/ports/multimedia/vlc.
*** Error code 1
Stop in /home/usr/ports/multimedia/vlc.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.56337.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=vlc-0.8.6.d,2 UPGRADE_PORT_VER=0.8.6.d,2 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! multimedia/vlc (vlc-0.8.6.d,2) (new compiler error)
Does anybody know how to fix this? With 0.8.6d everything worked perfectly.
Thanks, Erik
Compiling v0.8.6e on a FreeBSD 6.3 host ends up with the following error:
cc -Wsign-compare -Wall -O2 -fno-strict-aliasing -pipe -pthread -pipe -pthread -pthread -o libaa_plugin.so -shared -pthread -fpic -fPIC -u vlc_entry__0_8_6 -L/home/usr/ports/multimedia/vlc/work/fake//usr/local/lib -L/usr/local/lib libaa_plugin.a /usr/local/lib/libaa.so -lncurses -lm /usr/local/lib/libX11.so /usr/local/lib/libXau.so /usr/local/lib/libXdmcp.so -lrpcsvc -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/home/usr/ports/multimedia/vlc/work/fake//usr/local/include -I/home/usr/ports/multimedia/vlc/work/vlc-0.8.6e/include -I/usr/local/include/speex -I/usr/local/include -I/usr/local/include -I/usr/local/ffmpeg -DHAVE_POSTPROC_POSTPROCESS_H -I/usr/local/include -DSYS_FREEBSD6_3 -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin caca` -Wsign-compare -Wall -O2 -fno-strict-aliasing -pipe -pthread -pipe -MT libcaca_plugin_a-caca.o -MD -MP -MF ".deps/libcaca_plugin_a-caca.Tpo" -c -o libcaca_plugin_a-caca.o `test -f 'caca.c' || echo './'`caca.c; \
then mv -f ".deps/libcaca_plugin_a-caca.Tpo" ".deps/libcaca_plugin_a-caca.Po"; else rm -f ".deps/libcaca_plugin_a-caca.Tpo"; exit 1; fi
caca.c: In function `Manage':
caca.c:309: error: structure has no member named `type'
caca.c:316: error: structure has no member named `data'
caca.c:339: error: structure has no member named `data'
caca.c:342: error: structure has no member named `data'
caca.c: In function `Render':
caca.c:378: warning: `cucul_set_color' is deprecated (declared at /usr/local/include/cucul.h:313)
gmake[4]: *** [libcaca_plugin_a-caca.o] Error 1
gmake[4]: Leaving directory `/home/usr/ports/multimedia/vlc/work/vlc-0.8.6e/modules/video_output'
gmake[3]: *** [all-modules] Error 1
gmake[3]: Leaving directory `/home/usr/ports/multimedia/vlc/work/vlc-0.8.6e/modules/video_output'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/usr/ports/multimedia/vlc/work/vlc-0.8.6e/modules'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/usr/ports/multimedia/vlc/work/vlc-0.8.6e'
gmake: *** [all] Error 2
*** Error code 2
Stop in /home/usr/ports/multimedia/vlc.
*** Error code 1
Stop in /home/usr/ports/multimedia/vlc.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.56337.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=vlc-0.8.6.d,2 UPGRADE_PORT_VER=0.8.6.d,2 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! multimedia/vlc (vlc-0.8.6.d,2) (new compiler error)
Does anybody know how to fix this? With 0.8.6d everything worked perfectly.
Thanks, Erik