Hi Hermann
work. On debian, this is very common a problem with the libx264. So they
(DEBIAN,UBUNTU)
provide in their package both versions, one built with -fpic and one built with
-fPIC. So all
you have to do there is to walk to /usr/lib and put a symlink ln -s
libx264_pic.a libx264.a
I myself found out about this after spending hours and hours trying to build
some dependencies.
AArrrgh. Of course it is stated in the README, but who is able to read all
READMEs of all
packages he is using??
I've actually built a new x264 according to some instructions I found on
a ubuntu forum. I'm pretty sure I got that part right -also none of my
errors seem to relate to x264 so far.
I did my last cinelerra build some months ago, and I used the following in the
Debian buildfile
ifeq ($(DEB_HOST_ARCH),amd64)
CFLAGS=-ffast-math -msse3 -march=athlon64 -funroll-loops
-minline-all-stringops
- -fprefetch-loop-arrays -fPIC
CXXFLAGS=$(CFLAGS) -fno-check-new
CONFFLAGS+=--enable-sse3 --with-pic
endif
This is excellent detail thank you. I've played around with your flags
in various configurations but so far **no success**. What I really need
to know is whether these are the flags are passed to the cinelerra build
process as a whole or whether your script is building cinelerra in parts
and these flags were just those given to the internal ffmpeg. Or
perhaps the make in the quicktime directory?
When I tried these flags after descending into quicktime or ffmpeg
directories this caused the build to abort quickly with:
gcc: cannot specify -o with -c or -S with multiple files
When I tried them on cinelerra as a whole I got various different
results but so far none of them look like progress.
Of course your situation is different; I would guess the CONFFLAGS are the flag
passed
to ./configure, which you are invoking by hand, and you can put the CFLAGS and
CXXFLAGS
into the environement prior to invoking ./configure, so they are picked up and
written
into every generated makefile (is that the way it works? not sure though).
I have found two different ways that seem to work. On the main
cinelerra build:
./configure -xxx -xxx CFLAGS="xxxx" CXXFLAGS="xxxx" FFMPEGCFLAGS="xxxx"
and also
./configure -xxx -xxx
make CFLAGS="xxxx" CXXFLAGS="xxxx"
and just
make CFLAGS="xxxx" CXXFLAGS="xxxx"
for trying to build from the ffmpeg directory.
I know building is hell, but you can survive it (most of us survived it) ;-)
I want my cinelerra back so I will get this worked out. Or perhaps vale
will update amd 64 packages for opengl and bluedot. big hint! Maybe
I'll be expert enough by the end of this to do it myself.
Hope that helps
it helps even if it doesn't.
thanks again.
Graham E
_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra