[CinCV TNG] 11/16 - Cinelerra 6

Good Guy good1.2guy at gmail.com
Wed Nov 9 22:02:59 CET 2016


can't say for sure, but it may be that the ubuntu loader needs a
--start-group --end-group around the static libraries.  Not all distros
need the same loader directives.  This is just a guess.

The faacDecOpen external is in:
# nm quicktime/x86_64/libquicktime.a | grep faacDecOpen
0000000000000030 T faacDecOpen

which is referenced by the Makefile from:
g++ -o ../bin/cinelerra `cat x86_64/objs`
in the static library list.

I attached a new patch which adds the -Wl,--start-group ... -Wl,--end-group
parameters.

I did  a test build on ub14 and it did compile and load...  at least it did
not break it.

gg


On Wed, Nov 9, 2016 at 12:41 PM, igor_ubuntu <sitelve at gmail.com> wrote:

>
>
> 2016-11-09 20:07 GMT+02:00 Good Guy <good1.2guy at gmail.com>:
>
>>
>> I have attached a patch which repairs build errors for hv6 on my machine.
>> Perhaps it may help if you want to give hv6 a try.
>> gg
>>
>
> Without the patch I have a error
> /usr/include/bits/mathcalls.h:326: error: conflicting types for 'lrintf'
> It can be fixed by
> https://sourceforge.net/p/heroines/bugs/152/#dda0  (how-to from Nicola
> Feranick)
>
> But  with this patch and without one I have a next error  (ubuntu 32-bit)
> ...
> ....
>  /home/user/CINELERRA_HV/cinelerra-6/quicktime/thirdparty/ffmpeg-3.0.2/libavcodec/vaapi.c:137:
> undefined reference to `vaCreateBuffer'
> ../quicktime/i686/libquicktime.a(mp4a.o): In function `decode':
> mp4a.c:(.text+0x9d3): undefined reference to `faacDecOpen'
> mp4a.c:(.text+0x9dd): undefined reference to `
> faacDecGetCurrentConfiguration'
> mp4a.c:(.text+0x9f5): undefined reference to `faacDecSetConfiguration'
> mp4a.c:(.text+0xa4f): undefined reference to `faacDecInit'
> mp4a.c:(.text+0xb36): undefined reference to `faacDecDecode'
>
>
>
> *../quicktime/i686/libquicktime.a(mp4a.o): In function
> `delete_codec':mp4a.c:(.text+0xc3c): undefined reference to
> `faacDecClose'collect2: ld returned 1 exit statusmake[2]: ***
> [../bin/cinelerra] Error 1*
> make[2]: Leaving directory `/home/user/CINELERRA_HV/cinelerra-6/cinelerra'
>
> Any ideas please.
>
>
> _______________________________________________
> Cinelerra mailing list
> Cinelerra at lists.cinelerra-cv.org
> http://lists.cinelerra-cv.org/cgi-bin/mailman/listinfo/cinelerra
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cinelerra-cv.org/pipermail/cinelerra/attachments/20161109/f666929d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cin6.patch1
Type: application/octet-stream
Size: 1829 bytes
Desc: not available
URL: <http://lists.cinelerra-cv.org/pipermail/cinelerra/attachments/20161109/f666929d/attachment.obj>


More information about the Cinelerra mailing list