Problem with audio and Orc when compiling 1.2.3

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with audio and Orc when compiling 1.2.3

Peter Maersk-Moller-2
Hi

I'm trying to compile GStreamer 1.2.3 on updated Ubuntu 12.04. Earlier versions have compiled without major mishaps, but this versions have some problems with type definitions for audio formats related to Orc.

Liborc-0.4.18 has been installed.

The compiler produces this output

make[1]: Entering directory `/home/pmm/Projects/GStreamer/gst-plugins-base-1.2.3/gst-libs/gst/audio'
  CC     libgstaudio_1.0_la-audio-format.lo
audio-format.c: In function 'unpack_s8':
audio-format.c:111:1: warning: passing argument 2 of 'audio_orc_unpack_s8' makes integer from pointer without a cast [enabled by default]
gstaudiopack.h:71:6: note: expected 'int' but argument is of type 'gpointer'
audio-format.c:111:1: error: too many arguments to function 'audio_orc_unpack_s8'
gstaudiopack.h:71:6: note: declared here
audio-format.c: In function 'pack_s8':
audio-format.c:111:1: warning: passing argument 2 of 'audio_orc_pack_s8' makes integer from pointer without a cast [enabled by default]
gstaudiopack.h:89:6: note: expected 'int' but argument is of type 'gpointer'
audio-format.c:111:1: error: too many arguments to function 'audio_orc_pack_s8'
gstaudiopack.h:89:6: note: declared here

And many more likes this so obvious something went wrong. Perhaps a wrong include somehow? Is this a known issue?

Kind regards
Peter

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem with audio and Orc when compiling 1.2.3

Peter Maersk-Moller-2
When running autogen.sh for gst-plugins-base-1.2.3 I do see this messages that may be related:

+ running automake --add-missing --copy...
common/orc.mak:26: variable `ORC_NODIST_SOURCES' is defined but no program or
common/orc.mak:26: library has `ORC_NODIST' as canonical name (possible typo)
gst-libs/gst/audio/Makefile.am:3:   `common/orc.mak' included from here
common/orc.mak:26: variable `ORC_NODIST_SOURCES' is defined but no program or
common/orc.mak:26: library has `ORC_NODIST' as canonical name (possible typo)
gst-libs/gst/video/Makefile.am:3:   `common/orc.mak' included from here

And this:

configure: *** Plug-ins with dependencies that will NOT be built:
    ivorbisdec

configure: *** Orc acceleration enabled.

Now type 'make' to compile gst-plugins-base.


Regards
Peter MM


On Sun, Mar 2, 2014 at 1:33 PM, Peter Maersk-Moller <[hidden email]> wrote:
Hi

I'm trying to compile GStreamer 1.2.3 on updated Ubuntu 12.04. Earlier versions have compiled without major mishaps, but this versions have some problems with type definitions for audio formats related to Orc.

Liborc-0.4.18 has been installed.

The compiler produces this output

make[1]: Entering directory `/home/pmm/Projects/GStreamer/gst-plugins-base-1.2.3/gst-libs/gst/audio'
  CC     libgstaudio_1.0_la-audio-format.lo
audio-format.c: In function 'unpack_s8':
audio-format.c:111:1: warning: passing argument 2 of 'audio_orc_unpack_s8' makes integer from pointer without a cast [enabled by default]
gstaudiopack.h:71:6: note: expected 'int' but argument is of type 'gpointer'
audio-format.c:111:1: error: too many arguments to function 'audio_orc_unpack_s8'
gstaudiopack.h:71:6: note: declared here
audio-format.c: In function 'pack_s8':
audio-format.c:111:1: warning: passing argument 2 of 'audio_orc_pack_s8' makes integer from pointer without a cast [enabled by default]
gstaudiopack.h:89:6: note: expected 'int' but argument is of type 'gpointer'
audio-format.c:111:1: error: too many arguments to function 'audio_orc_pack_s8'
gstaudiopack.h:89:6: note: declared here

And many more likes this so obvious something went wrong. Perhaps a wrong include somehow? Is this a known issue?

Kind regards
Peter


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem with audio and Orc when compiling 1.2.3

Sebastian Dröge-3
In reply to this post by Peter Maersk-Moller-2
On So, 2014-03-02 at 13:33 +0100, Peter Maersk-Moller wrote:

> Hi
>
> I'm trying to compile GStreamer 1.2.3 on updated Ubuntu 12.04. Earlier
> versions have compiled without major mishaps, but this versions have some
> problems with type definitions for audio formats related to Orc.
>
> Liborc-0.4.18 has been installed.
>
> The compiler produces this output
>
> make[1]: Entering directory
> `/home/pmm/Projects/GStreamer/gst-plugins-base-1.2.3/gst-libs/gst/audio'
>   CC     libgstaudio_1.0_la-audio-format.lo
> audio-format.c: In function 'unpack_s8':
> audio-format.c:111:1: warning: passing argument 2 of 'audio_orc_unpack_s8'
> makes integer from pointer without a cast [enabled by default]
> gstaudiopack.h:71:6: note: expected 'int' but argument is of type 'gpointer'
> audio-format.c:111:1: error: too many arguments to function
> 'audio_orc_unpack_s8'
> gstaudiopack.h:71:6: note: declared here
> audio-format.c: In function 'pack_s8':
> audio-format.c:111:1: warning: passing argument 2 of 'audio_orc_pack_s8'
> makes integer from pointer without a cast [enabled by default]
> gstaudiopack.h:89:6: note: expected 'int' but argument is of type 'gpointer'
> audio-format.c:111:1: error: too many arguments to function
> 'audio_orc_pack_s8'
> gstaudiopack.h:89:6: note: declared here
>
> And many more likes this so obvious something went wrong. Perhaps a wrong
> include somehow? Is this a known issue?
This is a known issue but unfortunately nobody found the cause yet, and
I wasn't able to reproduce it yet either:
https://bugzilla.gnome.org/show_bug.cgi?id=711145

If you have any further insights than what was mentioned in the bug
already that would be very helpful :)

--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problem with audio and Orc when compiling 1.2.3

Peter Maersk-Moller-2
Thanks S.

Comments added to the bug report. Its status is partly resolved, which I guess you could argue is not completely correct.

Unfortunately at this moment, no further insight so far, but will of course report.

P


On Sun, Mar 2, 2014 at 1:40 PM, Sebastian Dröge <[hidden email]> wrote:
On So, 2014-03-02 at 13:33 +0100, Peter Maersk-Moller wrote:
> Hi
>
> I'm trying to compile GStreamer 1.2.3 on updated Ubuntu 12.04. Earlier
> versions have compiled without major mishaps, but this versions have some
> problems with type definitions for audio formats related to Orc.
>
> Liborc-0.4.18 has been installed.
>
> The compiler produces this output
>
> make[1]: Entering directory
> `/home/pmm/Projects/GStreamer/gst-plugins-base-1.2.3/gst-libs/gst/audio'
>   CC     libgstaudio_1.0_la-audio-format.lo
> audio-format.c: In function 'unpack_s8':
> audio-format.c:111:1: warning: passing argument 2 of 'audio_orc_unpack_s8'
> makes integer from pointer without a cast [enabled by default]
> gstaudiopack.h:71:6: note: expected 'int' but argument is of type 'gpointer'
> audio-format.c:111:1: error: too many arguments to function
> 'audio_orc_unpack_s8'
> gstaudiopack.h:71:6: note: declared here
> audio-format.c: In function 'pack_s8':
> audio-format.c:111:1: warning: passing argument 2 of 'audio_orc_pack_s8'
> makes integer from pointer without a cast [enabled by default]
> gstaudiopack.h:89:6: note: expected 'int' but argument is of type 'gpointer'
> audio-format.c:111:1: error: too many arguments to function
> 'audio_orc_pack_s8'
> gstaudiopack.h:89:6: note: declared here
>
> And many more likes this so obvious something went wrong. Perhaps a wrong
> include somehow? Is this a known issue?

This is a known issue but unfortunately nobody found the cause yet, and
I wasn't able to reproduce it yet either:
https://bugzilla.gnome.org/show_bug.cgi?id=711145

If you have any further insights than what was mentioned in the bug
already that would be very helpful :)

--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem with audio and Orc when compiling 1.2.3

rachelgomez161999
In reply to this post by Peter Maersk-Moller-2

Based on the error message you provided, it seems that there is a problem with the function audio_orc_unpack_s8 and audio_orc_pack_s8. These functions are part of the Orc library, which is used for optimizing operations in GStreamer.

The error message indicates that too many arguments were passed to these functions. This could be caused by a mismatch between the function declaration and the way the function is being called. It's possible that the Orc library was not installed correctly or that there is a problem with the include files.

To address this issue, you may want to check if the Orc library was installed correctly and if the header files are included correctly. Make sure that the correct version of the Orc library is installed and that the header files are in the correct location.

You may also want to check the version of GStreamer you are using to ensure that it is compatible with the version of the Orc library you have installed. It's possible that there is a compatibility issue between the two versions, which could cause the error you are seeing.

If you are still having trouble, you may want to try building and installing the Orc library from source. This will give you more control over the installation process and may help you identify any issues that are causing the problem.

Regards,
Rachel Gomez