Date: Wed, 2 Aug 2006 14:36:08 GMT From: Jacula Modyun <jacula@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/101263: multimedia/vlc: Error compiling, when set WITH_CORBA=yes Message-ID: <200608021436.k72Ea8VZ018053@www.freebsd.org> Resent-Message-ID: <200608021440.k72EeFCg060527@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101263 >Category: ports >Synopsis: multimedia/vlc: Error compiling, when set WITH_CORBA=yes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 02 14:40:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Jacula Modyun >Release: FreeBSD 6.1 >Organization: >Environment: FreeBSD geek.wirewater.yow 6.1-STABLE FreeBSD 6.1-STABLE #0: Mon May 22 17:41:02 UTC 2006 root@geek.wirewater.yow:/srv0/obj/srv1/src/sys/JACULA i386 >Description: When I compile multimedia/vlc, setting WITH_CORBA=yes, I've this error: gmake[6]: Leaving directory `/mnt/wrk/workdir/usr/ports/multimedia/vlc/work/vlc-0.8.5/modules/control/http' gmake all-recursive gmake[6]: Entering directory `/mnt/wrk/workdir/usr/ports/multimedia/vlc/work/vlc-0.8.5/modules/control/http' gmake[7]: Entering directory `/mnt/wrk/workdir/usr/ports/multimedia/vlc/work/vlc-0.8.5/modules/control/http' gmake[7]: Nothing to be done for `all-am'. gmake[7]: Leaving directory `/mnt/wrk/workdir/usr/ports/multimedia/vlc/work/vlc-0.8.5/modules/control/http' gmake[6]: Leaving directory `/mnt/wrk/workdir/usr/ports/multimedia/vlc/work/vlc-0.8.5/modules/control/http' gmake[5]: Leaving directory `/mnt/wrk/workdir/usr/ports/multimedia/vlc/work/vlc-0.8.5/modules/control/http' Making all in corba gmake[5]: Entering directory `/mnt/wrk/workdir/usr/ports/multimedia/vlc/work/vlc-0.8.5/modules/control/corba' /usr/local/bin/orbit-idl-2 --imodule MediaControl.idl orbit-idl-2 2.14.2 compiling mode, hide preprocessor errors, passes: stubs skels common headers imodule Processing file MediaControl.idl /usr/local/bin/orbit-idl-2 MediaControl.idl orbit-idl-2 2.14.2 compiling mode, hide preprocessor errors, passes: stubs skels common headers Processing file MediaControl.idl gmake[6]: Entering directory `/mnt/wrk/workdir/usr/ports/multimedia/vlc/work/vlc-0.8.5/modules/control/corba' if cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/mnt/wrk/workdir/usr/ports/multimedia/vlc/work/vlc-0.8.5/include -I/usr/X11R6/include/wx-2.6/ -I/usr/local/include/dirac -I/usr/local/include/speex -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -DSYS_FREEBSD6_1 -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin corba` -Wsign-compare -Wall -O2 -fno-strict-aliasing -pipe -march=athlon64 -O2 -ffast-math -fomit-frame-pointer -pthread -pipe -MT libcorba_plugin_a-corba.o -MD -MP -MF ".deps/libcorba_plugin_a-corba.Tpo" -c -o libcorba_plugin_a-corba.o `test -f 'corba.c' || echo './'`corba.c; \ then mv -f ".deps/libcorba_plugin_a-corba.Tpo" ".deps/libcorba_plugin_a-corba.Po"; else rm -f ".deps/libcorba_plugin_a-corba.Tpo"; exit 1; fi corba.c:31:25: vlc/control.h: No such file or directory corba.c:69: error: syntax error before "mediacontrol_Exception" corba.c: In function `corba_raise': corba.c:74: error: `exception' undeclared (first use in this function) corba.c:74: error: (Each undeclared identifier is reported only once corba.c:74: error: for each function it appears in.) corba.c:76: error: `mediacontrol_InternalException' undeclared (first use in this function) corba.c:80: error: `mediacontrol_PlaylistException' undeclared (first use in this function) corba.c:84: error: `mediacontrol_InvalidPosition' undeclared (first use in this function) corba.c:88: error: `mediacontrol_PositionKeyNotSupported' undeclared (first use in this function) corba.c:92: error: `mediacontrol_PositionOriginNotSupported' undeclared (first use in this function) corba.c:98: error: `ev' undeclared (first use in this function) corba.c: At top level: corba.c:102: error: syntax error before '*' token corba.c:103: warning: return type defaults to `int' corba.c: In function `corba_position_corba_to_c': corba.c:104: error: `mediacontrol_Position' undeclared (first use in this function) corba.c:104: error: `retval' undeclared (first use in this function) corba.c:106: error: syntax error before ')' token corba.c: At top level: corba.c:115: error: syntax error before '*' token corba.c:116: warning: return type defaults to `int' corba.c: In function `corba_position_c_to_corba': corba.c:122: error: `position' undeclared (first use in this function) corba.c:125: warning: return from incompatible pointer type corba.c: At top level: corba.c:135: error: syntax error before "mediacontrol_Instance" corba.c:150: error: syntax error before "mediacontrol_Instance" corba.c: In function `impl_VLC_MediaControl__create': corba.c:308: error: structure has no member named `mc' corba.c: In function `impl_VLC_MediaControl_get_media_position': corba.c:346: error: `mediacontrol_Position' undeclared (first use in this function) corba.c:346: error: `p_pos' undeclared (first use in this function) corba.c:347: error: `mediacontrol_Exception' undeclared (first use in this function) corba.c:347: error: `exception' undeclared (first use in this function) corba.c:349: warning: implicit declaration of function `mediacontrol_exception_init' corba.c:350: warning: implicit declaration of function `mediacontrol_get_media_position' corba.c:350: error: structure has no member named `mc' corba.c:351: warning: implicit declaration of function `mediacontrol_exception_free' corba.c:353: warning: assignment from incompatible pointer type corba.c: In function `impl_VLC_MediaControl_set_media_position': corba.c:364: error: `mediacontrol_Position' undeclared (first use in this function) corba.c:364: error: `p_pos' undeclared (first use in this function) corba.c:365: error: `mediacontrol_Exception' undeclared (first use in this function) corba.c:365: error: `exception' undeclared (first use in this function) corba.c:370: warning: implicit declaration of function `mediacontrol_set_media_position' corba.c:370: error: structure has no member named `mc' corba.c: In function `impl_VLC_MediaControl_start': corba.c:382: error: `mediacontrol_Position' undeclared (first use in this function) corba.c:382: error: `p_pos' undeclared (first use in this function) corba.c:383: error: `mediacontrol_Exception' undeclared (first use in this function) corba.c:383: error: `exception' undeclared (first use in this function) corba.c:388: warning: implicit declaration of function `mediacontrol_start' corba.c:388: error: structure has no member named `mc' corba.c: In function `impl_VLC_MediaControl_pause': corba.c:399: error: `mediacontrol_Position' undeclared (first use in this function) corba.c:399: error: `p_pos' undeclared (first use in this function) corba.c:400: error: `mediacontrol_Exception' undeclared (first use in this function) corba.c:400: error: `exception' undeclared (first use in this function) corba.c:405: warning: implicit declaration of function `mediacontrol_pause' corba.c:405: error: structure has no member named `mc' corba.c: In function `impl_VLC_MediaControl_resume': corba.c:416: error: `mediacontrol_Position' undeclared (first use in this function) corba.c:416: error: `p_pos' undeclared (first use in this function) corba.c:417: error: `mediacontrol_Exception' undeclared (first use in this function) corba.c:417: error: `exception' undeclared (first use in this function) corba.c:422: warning: implicit declaration of function `mediacontrol_resume' corba.c:422: error: structure has no member named `mc' corba.c: In function `impl_VLC_MediaControl_stop': corba.c:433: error: `mediacontrol_Position' undeclared (first use in this function) corba.c:433: error: `p_pos' undeclared (first use in this function) corba.c:434: error: `mediacontrol_Exception' undeclared (first use in this function) corba.c:434: error: `exception' undeclared (first use in this function) corba.c:439: error: structure has no member named `mc' corba.c: In function `impl_VLC_MediaControl_exit': corba.c:450: warning: implicit declaration of function `mediacontrol_exit' corba.c:450: error: structure has no member named `mc' corba.c: In function `impl_VLC_MediaControl_playlist_add_item': corba.c:459: error: `mediacontrol_Exception' undeclared (first use in this function) corba.c:459: error: `exception' undeclared (first use in this function) corba.c:462: warning: implicit declaration of function `mediacontrol_playlist_add_item' corba.c:462: error: structure has no member named `mc' corba.c: In function `impl_VLC_MediaControl_playlist_clear': corba.c:472: error: `mediacontrol_Exception' undeclared (first use in this function) corba.c:472: error: `exception' undeclared (first use in this function) corba.c:475: warning: implicit declaration of function `mediacontrol_playlist_clear' corba.c:475: error: structure has no member named `mc' corba.c: In function `impl_VLC_MediaControl_playlist_get_list': corba.c:486: error: `mediacontrol_Exception' undeclared (first use in this function) corba.c:486: error: `exception' undeclared (first use in this function) corba.c:487: error: `mediacontrol_PlaylistSeq' undeclared (first use in this function) corba.c:487: error: `p_ps' undeclared (first use in this function) corba.c:491: warning: implicit declaration of function `mediacontrol_playlist_get_list' corba.c:491: error: structure has no member named `mc' corba.c:504: warning: implicit declaration of function `mediacontrol_PlaylistSeq__free' corba.c: At top level: corba.c:509: error: syntax error before '*' token corba.c: In function `createRGBPicture': corba.c:516: error: `p_pic' undeclared (first use in this function) corba.c: In function `impl_VLC_MediaControl_snapshot': corba.c:536: error: `mediacontrol_RGBPicture' undeclared (first use in this function) corba.c:536: error: `p_pic' undeclared (first use in this function) corba.c:537: error: `mediacontrol_Position' undeclared (first use in this function) corba.c:537: error: `p_pos' undeclared (first use in this function) corba.c:538: error: `mediacontrol_Exception' undeclared (first use in this function) corba.c:538: error: `exception' undeclared (first use in this function) corba.c:543: warning: implicit declaration of function `mediacontrol_snapshot' corba.c:543: error: structure has no member named `mc' corba.c:547: warning: implicit declaration of function `mediacontrol_RGBPicture__free' corba.c: In function `impl_VLC_MediaControl_all_snapshots': corba.c:556: error: `mediacontrol_RGBPicture' undeclared (first use in this function) corba.c:556: error: `p_piclist' undeclared (first use in this function) corba.c:557: error: `p_tmp' undeclared (first use in this function) corba.c:558: error: `mediacontrol_Exception' undeclared (first use in this function) corba.c:558: error: `exception' undeclared (first use in this function) corba.c:563: warning: implicit declaration of function `mediacontrol_all_snapshots' corba.c:563: error: structure has no member named `mc' corba.c:575: error: `p_pic' undeclared (first use in this function) corba.c: In function `impl_VLC_MediaControl_display_text': corba.c:603: error: `mediacontrol_Position' undeclared (first use in this function) corba.c:603: error: `p_begin' undeclared (first use in this function) corba.c:604: error: `p_end' undeclared (first use in this function) corba.c:605: error: `mediacontrol_Exception' undeclared (first use in this function) corba.c:605: error: `exception' undeclared (first use in this function) corba.c:610: warning: implicit declaration of function `mediacontrol_display_text' corba.c:610: error: structure has no member named `mc' corba.c: In function `impl_VLC_MediaControl_get_stream_information': corba.c:622: error: `mediacontrol_Exception' undeclared (first use in this function) corba.c:622: error: `exception' undeclared (first use in this function) corba.c:623: error: `mediacontrol_StreamInformation' undeclared (first use in this function) corba.c:623: error: `p_si' undeclared (first use in this function) corba.c:627: warning: implicit declaration of function `mediacontrol_get_stream_information' corba.c:627: error: structure has no member named `mc' corba.c:627: error: `mediacontrol_MediaTime' undeclared (first use in this function) corba.c: In function `impl_VLC_MediaControl_sound_get_volume': corba.c:651: error: `mediacontrol_Exception' undeclared (first use in this function) corba.c:651: error: `exception' undeclared (first use in this function) corba.c:654: warning: implicit declaration of function `mediacontrol_sound_get_volume' corba.c:654: error: structure has no member named `mc' corba.c: In function `impl_VLC_MediaControl_sound_set_volume': corba.c:665: error: `mediacontrol_Exception' undeclared (first use in this function) corba.c:665: error: `exception' undeclared (first use in this function) corba.c:668: warning: implicit declaration of function `mediacontrol_sound_set_volume' corba.c:668: error: structure has no member named `mc' corba.c: In function `Open': corba.c:719: error: structure has no member named `mc' corba.c: In function `Run': corba.c:795: error: `mediacontrol_Instance' undeclared (first use in this function) corba.c:795: error: `mc_instance' undeclared (first use in this function) corba.c:796: error: `mediacontrol_Exception' undeclared (first use in this function) corba.c:796: error: `exception' undeclared (first use in this function) corba.c:823: warning: implicit declaration of function `mediacontrol_new_from_object' corba.c:826: error: structure has no member named `mc' corba.c:829: error: structure has no member named `mc' corba.c:829: error: structure has no member named `mc' corba.c:897: error: structure has no member named `mc' gmake[6]: *** [libcorba_plugin_a-corba.o] Error 1 gmake[6]: Leaving directory `/mnt/wrk/workdir/usr/ports/multimedia/vlc/work/vlc-0.8.5/modules/control/corba' gmake[5]: *** [all-modules] Error 1 gmake[5]: Leaving directory `/mnt/wrk/workdir/usr/ports/multimedia/vlc/work/vlc-0.8.5/modules/control/corba' gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory `/mnt/wrk/workdir/usr/ports/multimedia/vlc/work/vlc-0.8.5/modules/control' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/mnt/wrk/workdir/usr/ports/multimedia/vlc/work/vlc-0.8.5/modules/control' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/mnt/wrk/workdir/usr/ports/multimedia/vlc/work/vlc-0.8.5/modules' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/mnt/wrk/workdir/usr/ports/multimedia/vlc/work/vlc-0.8.5' gmake: *** [all] Error 2 *** Error code 2 >How-To-Repeat: Set WITH_CORBA=yes and copile vlc. >Fix: The problem is the control.h. This header have changed name in: mediacontrol.h. This header is declared in modules/control/corba/corba.c. The control.h header have to declared after the vlc.h header. This is the patch: --- modules/control/corba/corba.c.orig Sat May 6 15:52:16 2006 +++ modules/control/corba/corba.c Wed Aug 2 13:05:00 2006 @@ -28,8 +28,8 @@ #include "MediaControl.h" #include "orbit/poa/portableserver-poa-type.h" -#include <vlc/control.h> #include <vlc/vlc.h> +#include <vlc/mediacontrol.h> #include <vlc/intf.h> #include <vlc/vout.h> #include <vlc/aout.h> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608021436.k72Ea8VZ018053>