Einar,
I already had libbz2-dev and libva-dev installed, they were on a list of
dependencies
I read somewhere. But, make shows no errors & makes no executable. Just c_flags
file
in the cinelerra-4.4/bin folder.
Gavin told me to patch cinelerra/filepng.C he's on the list, just emailed me
directly.
--- a/cinelerra/filepng.C
+++ b/cinelerra/filepng.C
@@ -57,7 +57,7 @@ int FilePNG::check_sig(Asset *asset)
fread(test, 16, 1, stream);
fclose(stream);
- if(png_check_sig((unsigned char*)test, 8))
+ if(png_sig_cmp((unsigned char*)test, 0, 8) == 0)
{
//printf("FilePNG::check_sig 1\n");
return 1;
Now this doesn't line up with the filepng.C I have, I think something else
patched it too.
But line 57 matches his - line so I manually copy & pasted +. Now I get a lot
of stuff in
the /bin folder, but still no executable. So not sure what's up. He got it
working on
archlinux. He couldn't use all the debian patches, but he's not on debian.
Now your error reminds me of a patch I got before I explored the cinelerra-cv
mail list.
Called patch-cinelerra-4.4-mjpegtools
*** cinelerra-4.4/thirdparty/mjpegtools-1.9.0rc3/utils/cpu_accel.h Thu Jul
10 20:27:43 2008
--- cinelerra-4.4-ejo/thirdparty/mjpegtools-1.9.0rc3/utils/cpu_accel.h Fri Jun
28 11:37:12 2013
***************
*** 35,40 ****
--- 35,41 ----
extern "C" {
#endif
+ #define cpu_accel cpu_accel_mjp
int32_t cpu_accel (void);
void *bufalloc( size_t size );
#if !defined(HAVE_POSIX_MEMALIGN)
I just looked at my cpu_accel.h it isn't patched, but I see no error for it.
Looking for warnings
now.
Good Luck,
Ned
On Mon, 2013-08-26 at 20:57 +0300, Einar Rünkaru wrote:
>
> Typically I run 'make >& list.make' - I get build log, I can analyze
> it later.
>
>
> I managed to apply all patches (some by hand) and after installing
> libbz2-dev and libva-dev I stuck with
>
> error "multiple definition of `cpu_accel'".
>
>
> Einar
>
_______________________________________________
Cinelerra mailing list
[email protected]
https://lists.skolelinux.org/listinfo/cinelerra