Hi folks,

I have some problems with "flist wrapper". After update to ubuntu 11.10 I've got a error message while building of T2: "Detected a problem with the flist wrapper lib on your system". I find out, that fl_wrapper.so was not linked against libdl. My gcc-4.6.1 seems to ignore the option -ldl. I just moved it to the end of the compiler string and it's working for me now.

--
Mit freundlichen Grüßen

Andrey Alexandrenko



TELCO TECH GmbH

Potsdamer Straße 14a

14513 Teltow

Tel.:     (03328) 43 08 10

Fax:     (03328) 43 08 15

Web: www.telco-tech.de

Amtsgericht Potsdam-Stadt HRB 55 79

Geschäftsführung: Gerd Lochter

diff -up scripts/Build-Tools.ldl scripts/Build-Tools
--- scripts/Build-Tools.ldl	2011-12-07 10:31:36.324142290 +0100
+++ scripts/Build-Tools	2011-12-07 09:04:33.376356574 +0100
@@ -307,10 +307,10 @@ EOT
 		fi
 
 		sh misc/tools-source/fl_wrapper.c.sh > src/fl_wrapper_$$.c
-		$BUILDCC -O2 -shared -fPIC -Wall -ldl src/fl_wrapper_$$.c \
+		$BUILDCC -O2 -shared -fPIC -Wall src/fl_wrapper_$$.c \
 			  $FLWRAPPER_BASEDIR                              \
 			  -DFLWRAPPER_LIBC=\"${FLWRAPPER_LIBC##*/}\"	  \
-	        	  -o build/$SDECFG_ID/TOOLCHAIN/$toolsdir/lib/fl_wrapper.so.$$ || exit 1
+	        	  -o build/$SDECFG_ID/TOOLCHAIN/$toolsdir/lib/fl_wrapper.so.$$ -ldl || exit 1
 		rm src/fl_wrapper_$$.c
 		mv build/$SDECFG_ID/TOOLCHAIN/$toolsdir/lib/fl_wrapper.so.$$ \
 		   build/$SDECFG_ID/TOOLCHAIN/$toolsdir/lib/fl_wrapper.so
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to