Am 13.05.2011 18:47, schrieb Dan Dennedy:
> echo "LIBDL=-ldl"

No, the patch would be something like:

root@kfbsd64:~# diff -Naur mlt-0.7.2.orig/configure mlt-0.7.2/configure
--- mlt-0.7.2.orig/configure    2011-05-02 07:59:12.000000000 +0200
+++ mlt-0.7.2/configure 2011-05-13 23:37:01.000000000 +0200
@@ -119,6 +119,13 @@
            echo "RDYNAMIC="
            echo "LDFLAGS+=-Wl,--no-undefined -Wl,--as-needed"
            ;;
+           GNU/kFreeBSD)
+           echo "CFLAGS+=-fPIC -pthread"
+                echo "SHFLAGS=-shared"
+                echo "LIBDL=-ldl"
+                echo "RDYNAMIC=-rdynamic"
+                echo "LDFLAGS+=-Wl,--no-undefined -Wl,--as-needed"
+           ;;
            *)
            ;;
            esac
root@kfbsd64:~#


Anyway now I am stuck at:

g++ -g -O2 -I.. -rdynamic -DVERSION=\"0.7.2\"   -c -o MltTransition.o
MltTransition.cpp
g++ -Wl,-soname,libmlt++.so.3 -o libmlt++.so.0.7.2 MltConsumer.o
MltDeque.o MltEvent.o MltFactory.o MltField.o MltFilter.o
MltFilteredConsumer.o MltFilteredProducer.o MltFrame.o MltGeometry.o
MltMultitrack.o MltParser.o MltPlaylist.o MltProducer.o MltProfile.o
MltProperties.o MltPushConsumer.o MltRepository.o MltService.o
MltTokeniser.o MltTractor.o MltTransition.o  -Wl,--no-undefined
-Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -L../framework -lmlt
/usr/lib/gcc/x86_64-kfreebsd-gnu/4.5.3/../../../../lib/crt1.o: In
function `_start':
(.text+0x23): undefined reference to `main'
collect2: ld returned 1 exit status

-- 
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

E-Mail: [email protected]
        [email protected]

Comment:
Always if we think we are right,
we were maybe wrong.
*/

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to