BUILD LibVLC on QNX

This forum is about all development around libVLC.
Hachaso
Blank Cone
Blank Cone
Posts: 10
Joined: 05 May 2011 16:54

BUILD LibVLC on QNX

Postby Hachaso » 15 Sep 2011 16:08

Hi!

I'm trying to get libVLC to build on QNX.
when I run

Code: Select all

./configure CC=ntoarm-gcc --host=arm-unknown-nto-qnx6.5.0 --target=arm-unknown-nto-qnx6.5.0 CXX=arm-unknown-nto-qnx6.5.0-g++ CFLAGS=-static CXXFLAGS=-static --disable-lua
I get

Code: Select all

configure: error: Could not find libmad on your system: you may get it from http://www.underbit.com/products/mad/. Alternatively you can use --disable-mad to disable the mad plugin.
I downloaded the source code of libmad and placed it in the ./libs folder under the root VLC folder.
Is this the correct way to do it?
Doing this does not help much. Do I need to do something else?

Does anyone have any procedure how to configure and build for QNX ?
Any hints?

Thanks

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: BUILD LibVLC on QNX

Postby Rémi Denis-Courmont » 16 Sep 2011 04:28

The VLC build system uses pkg-config to find (most) underlying libraries. You need to install libmad, and configure the pkg-config environment variables adequately.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Hachaso
Blank Cone
Blank Cone
Posts: 10
Joined: 05 May 2011 16:54

Re: BUILD LibVLC on QNX

Postby Hachaso » 16 Sep 2011 09:56

Do I need to install the libmad lib on my Mac OS X.. or build it from source and install it on my MAC?
Will that really work on QNX as well?

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: BUILD LibVLC on QNX

Postby Rémi Denis-Courmont » 19 Sep 2011 00:20

No. You need to (cross-)compile libmad and all other relevant underlying libraries, install them somewhere and tell the VLC build system where to find them.

This is not at all specific to VLC anyhow.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: BUILD LibVLC on QNX

Postby Jean-Baptiste Kempf » 20 Sep 2011 18:06

Did you try to use the VLC contrib system?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Hachaso
Blank Cone
Blank Cone
Posts: 10
Joined: 05 May 2011 16:54

Re: BUILD LibVLC on QNX

Postby Hachaso » 22 Sep 2011 13:52

What is the VLC contrib system??

I have tried to build libmad for QNX using QCC. I manage to rung ./configure with all the parameters and point out my QCC.
When I make I get these errors:

Code: Select all

synth.c: In function 'dct32': synth.c:218: error: impossible constraint in 'asm' synth.c:219: error: impossible constraint in 'asm' synth.c:222: error: impossible constraint in 'asm' synth.c:224: error: impossible constraint in 'asm' synth.c:226: error: impossible constraint in 'asm' synth.c:227: error: impossible constraint in 'asm' synth.c:230: error: impossible constraint in 'asm' synth.c:232: error: impossible constraint in 'asm' synth.c:234: error: impossible constraint in 'asm' synth.c:235: error: impossible constraint in 'asm' synth.c:238: error: impossible constraint in 'asm' synth.c:240: error: impossible constraint in 'asm' synth.c:242: error: impossible constraint in 'asm' synth.c:243: error: impossible constraint in 'asm' synth.c:246: error: impossible constraint in 'asm' synth.c:248: error: impossible constraint in 'asm' synth.c:250: error: impossible constraint in 'asm' synth.c:251: error: impossible constraint in 'asm' synth.c:254: error: impossible constraint in 'asm' synth.c:256: error: impossible constraint in 'asm' synth.c:258: error: impossible constraint in 'asm' synth.c:259: error: impossible constraint in 'asm' synth.c:262: error: impossible constraint in 'asm' synth.c:264: error: impossible constraint in 'asm' synth.c:266: error: impossible constraint in 'asm' synth.c:267: error: impossible constraint in 'asm' synth.c:270: error: impossible constraint in 'asm' synth.c:272: error: impossible constraint in 'asm' synth.c:274: error: impossible constraint in 'asm' synth.c:275: error: impossible constraint in 'asm' synth.c:278: error: impossible constraint in 'asm' synth.c:280: error: impossible constraint in 'asm' synth.c:282: error: impossible constraint in 'asm' synth.c:283: error: impossible constraint in 'asm' synth.c:284: error: impossible constraint in 'asm' synth.c:285: error: impossible constraint in 'asm' synth.c:286: error: impossible constraint in 'asm' synth.c:287: error: impossible constraint in 'asm' synth.c:288: error: impossible constraint in 'asm' synth.c:289: error: impossible constraint in 'asm' synth.c:291: error: impossible constraint in 'asm' synth.c:292: error: impossible constraint in 'asm' synth.c:293: error: impossible constraint in 'asm' synth.c:294: error: impossible constraint in 'asm' synth.c:296: error: impossible constraint in 'asm' synth.c:297: error: impossible constraint in 'asm' synth.c:298: error: impossible constraint in 'asm' synth.c:299: error: impossible constraint in 'asm' synth.c:305: error: impossible constraint in 'asm' synth.c:366: error: impossible constraint in 'asm' synth.c:367: error: impossible constraint in 'asm' synth.c:372: error: impossible constraint in 'asm' synth.c:374: error: impossible constraint in 'asm' synth.c:375: error: impossible constraint in 'asm' synth.c:382: error: impossible constraint in 'asm' synth.c:383: error: impossible constraint in 'asm' synth.c:390: error: impossible constraint in 'asm' synth.c:391: error: impossible constraint in 'asm' synth.c:400: error: impossible constraint in 'asm' synth.c:401: error: impossible constraint in 'asm' synth.c:408: error: impossible constraint in 'asm' synth.c:412: error: impossible constraint in 'asm' synth.c:414: error: impossible constraint in 'asm' synth.c:415: error: impossible constraint in 'asm' synth.c:424: error: impossible constraint in 'asm' synth.c:426: error: impossible constraint in 'asm' synth.c:427: error: impossible constraint in 'asm' synth.c:436: error: impossible constraint in 'asm' synth.c:440: error: impossible constraint in 'asm' synth.c:446: error: impossible constraint in 'asm' synth.c:450: error: impossible constraint in 'asm' synth.c:453: error: impossible constraint in 'asm' synth.c:454: error: impossible constraint in 'asm' synth.c:461: error: impossible constraint in 'asm' synth.c:467: error: impossible constraint in 'asm' synth.c:479: error: impossible constraint in 'asm' synth.c:487: error: impossible constraint in 'asm' synth.c:491: error: impossible constraint in 'asm' synth.c:497: error: impossible constraint in 'asm' synth.c:502: error: impossible constraint in 'asm' {standard input}: Assembler messages: {standard input}:179: Error: bad instruction `shrdl #28,sl,sl' {standard input}:187: Error: bad instruction `shrdl #28,r3,r3' {standard input}:210: Error: bad instruction `shrdl #28,r1,r1' {standard input}:233: Error: bad instruction `shrdl #28,r3,r8' {standard input}:275: Error: bad instruction `shrdl #28,r7,r7' {standard input}:292: Error: bad instruction `shrdl #28,r3,r3' {standard input}:319: Error: bad instruction `shrdl #28,ip,sl' {standard input}:328: Error: bad instruction `shrdl #28,ip,r7' {standard input}:340: Error: bad instruction `shrdl #28,ip,r3' {standard input}:369: Error: bad instruction `shrdl #28,r2,r2' {standard input}:385: Error: bad instruction `shrdl #28,r4,r4' {standard input}:408: Error: bad instruction `shrdl #28,r3,r5' {standard input}:434: Error: bad instruction `shrdl #28,r2,r2' {standard input}:454: Error: bad instruction `shrdl #28,r3,r3' {standard input}:469: Error: bad instruction `shrdl #28,r4,r4' {standard input}:489: Error: bad instruction `shrdl #28,r3,r6' {standard input}:524: Error: bad instruction `shrdl #28,r2,r2' {standard input}:535: Error: bad instruction `shrdl #28,r3,r3' {standard input}:552: Error: bad instruction `shrdl #28,ip,ip' {standard input}:575: Error: bad instruction `shrdl #28,r3,ip' {standard input}:602: Error: bad instruction `shrdl #28,r2,r2' {standard input}:620: Error: bad instruction `shrdl #28,r3,r3' {standard input}:642: Error: bad instruction `shrdl #28,r4,r4' {standard input}:666: Error: bad instruction `shrdl #28,r3,r4' {standard input}:712: Error: bad instruction `shrdl #28,r2,r2' {standard input}:720: Error: bad instruction `shrdl #28,r3,r3' {standard input}:747: Error: bad instruction `shrdl #28,r9,r3' {standard input}:755: Error: bad instruction `shrdl #28,r9,r2' {standard input}:775: Error: bad instruction `shrdl #28,r9,r1' {standard input}:796: Error: bad instruction `shrdl #28,r0,r0' {standard input}:829: Error: bad instruction `shrdl #28,r9,r1' {standard input}:838: Error: bad instruction `shrdl #28,r9,r0' {standard input}:866: Error: bad instruction `shrdl #28,r9,[sp,#44]' {standard input}:883: Error: bad instruction `shrdl #28,fp,fp' {standard input}:905: Error: bad instruction `shrdl #28,r9,[sp,#36]' {standard input}:925: Error: bad instruction `shrdl #28,fp,fp' {standard input}:943: Error: bad instruction `shrdl #28,r9,[sp,#28]' {standard input}:963: Error: bad instruction `shrdl #28,fp,fp' {standard input}:992: Error: bad instruction `shrdl #28,r9,[sp,#20]' cc: /Developer/SDKs/qnx650/host/darwin/x86/usr/lib/gcc/arm-unknown-nto-qnx6.5.0eabi/4.4.2/cc1 error 1 {standard input}:1033: Error: bad instruction `shrdl #28,fp,fp' {standard input}:1041: Error: bad instruction `shrdl #28,r9,r9' {standard input}:1112: Error: bad instruction `shrdl #28,r8,r5' {standard input}:1121: Error: bad instruction `shrdl #28,r8,r6' {standard input}:1130: Error: bad instruction `shrdl #28,r8,r4' {standard input}:1139: Error: bad instruction `shrdl #28,r8,r0' {standard input}:1162: Error: bad instruction `shrdl #28,r8,ip' {standard input}:1175: Error: bad instruction `shrdl #28,r7,r1' {standard input}:1220: Error: bad instruction `shrdl #28,r8,r7' {standard input}:1226: Error: bad instruction `shrdl #28,r2,r2' {standard input}:1269: Error: bad instruction `shrdl #28,r2,r2' {standard input}:1287: Error: bad instruction `shrdl #28,r1,r1' {standard input}:1329: Error: bad instruction `shrdl #28,r1,r1' {standard input}:1443: Error: bad instruction `shrdl #28,r1,r1' {standard input}:1451: Error: bad instruction `shrdl #28,r0,r0' {standard input}:1482: Error: bad instruction `shrdl #28,ip,r5' {standard input}:1491: Error: bad instruction `shrdl #28,ip,r1' {standard input}:1514: Error: bad instruction `shrdl #28,ip,r1' {standard input}:1523: Error: bad instruction `shrdl #28,ip,ip' {standard input}:1559: Error: bad instruction `shrdl #28,r1,r1' {standard input}:1567: Error: bad instruction `shrdl #28,ip,ip' {standard input}:1598: Error: bad instruction `shrdl #28,r1,r1' {standard input}:1614: Error: bad instruction `shrdl #28,r5,r4' {standard input}:1625: Error: bad instruction `shrdl #28,r5,r1' {standard input}:1642: Error: bad instruction `shrdl #28,r5,fp' {standard input}:1669: Error: bad instruction `shrdl #28,r1,r1' {standard input}:1692: Error: bad instruction `shrdl #28,ip,r1' {standard input}:1701: Error: bad instruction `shrdl #28,ip,ip' {standard input}:1728: Error: bad instruction `shrdl #28,r3,r3' {standard input}:1742: Error: bad instruction `shrdl #28,r6,r5' {standard input}:1755: Error: bad instruction `shrdl #28,r6,r5' {standard input}:1786: Error: bad instruction `shrdl #28,r6,r6' {standard input}:1809: Error: bad instruction `shrdl #28,r5,r3' {standard input}:1818: Error: bad instruction `shrdl #28,r5,r5' {standard input}:1845: Error: bad instruction `shrdl #28,r4,r4' {standard input}:1869: Error: bad instruction `shrdl #28,r3,r3' {standard input}:1891: Error: bad instruction `shrdl #28,r6,r1' {standard input}:1919: Error: bad instruction `shrdl #28,r6,r6' {standard input}:1938: Error: bad instruction `shrdl #28,r3,r3' {standard input}:1952: Error: bad instruction `shrdl #28,r1,r7' {standard input}:1971: Error: bad instruction `shrdl #28,r1,r1' cc: /Developer/SDKs/qnx650/host/darwin/x86/usr/bin/ntoarm-as error 1 make[2]: *** [synth.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: BUILD LibVLC on QNX

Postby Jean-Baptiste Kempf » 22 Sep 2011 16:12

See extras/contrib/ or contrib folders in VLC.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 10 guests