[vlc-devel] VLC and ICC (errors attached)

galenz at zinkconsulting.com galenz at zinkconsulting.com
Sun Oct 15 23:41:00 CEST 2006


I have obtained ICC (Intel's compiler) and am attempting to build VLC  
under Mac OS X for Intel. Compilation seems to work well enough with  
GCC, but when I set CC and CXX = icc, the bootstrap goes well and  
make gets underway but then begins to develop some libtool errors and  
then the make fails before the compilation is complete. It does  
appear that

Here's some of the last output before make dies:
  icc -DHAVE_CONFIG_H -I. -I. -I. -I/vlc_source/vlc-0.8.5/extras/ 
contrib/include -I/vlc_source/vlc-0.8.5/extras/contrib/include -c  
autosprintf.cc  -fno-common -DPIC -o .libs/autosprintf.o
  icc -DHAVE_CONFIG_H -I. -I. -I. -I/vlc_source/vlc-0.8.5/extras/ 
contrib/include -I/vlc_source/vlc-0.8.5/extras/contrib/include -c  
autosprintf.cc -o autosprintf.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CXX --mode=link icc  -I/vlc_source/vlc-0.8.5/ 
extras/contrib/include   -L/vlc_source/vlc-0.8.5/extras/contrib/lib  - 
o libasprintf.la -rpath /vlc_source/vlc-0.8.5/extras/contrib/lib  lib- 
asprintf.lo autosprintf.lo   || \
/bin/sh ./libtool --tag=CC --mode=link icc  -I/vlc_source/vlc-0.8.5/ 
extras/contrib/include   -L/vlc_source/vlc-0.8.5/extras/contrib/lib  - 
o libasprintf.la -rpath /vlc_source/vlc-0.8.5/extras/contrib/lib  lib- 
asprintf.lo autosprintf.lo
icc -r -keep_private_externs -nostdlib -o .libs/libasprintf. 
0.0.0.dylib-master.o  .libs/lib-asprintf.o .libs/autosprintf.o
ld: warning -L: directory name (/vlc_source/vlc-0.8.5/extras/contrib/ 
lib) does not exist
icc -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o .libs/ 
libasprintf.0.0.0.dylib .libs/libasprintf.0.0.0.dylib-master.o  -L/ 
vlc_source/vlc-0.8.5/extras/contrib/lib  -install_name  /vlc_source/ 
vlc-0.8.5/extras/contrib/lib/libasprintf.0.dylib -Wl,- 
compatibility_version -Wl,1 -Wl,-current_version -Wl,1.0
libtool: unrecognized option `-dynamic'
Try `libtool --help' for more information.
icc -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o .libs/ 
libasprintf.0.0.0.dylib  .libs/lib-asprintf.o .libs/autosprintf.o  -L/ 
vlc_source/vlc-0.8.5/extras/contrib/lib  -install_name  /vlc_source/ 
vlc-0.8.5/extras/contrib/lib/libasprintf.0.dylib -Wl,- 
compatibility_version -Wl,1 -Wl,-current_version -Wl,1.0
libtool: unrecognized option `-dynamic'
Try `libtool --help' for more information.
make[6]: *** [libasprintf.la] Error 1
make[5]: *** [all] Error 2
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [.intl] Error 2
make: *** [src] Error 2

I've checked, libtool supports -dynamic on my system. I was concerned  
the unusual apple version of libtool might cause a problem, so I  
built and installed the latest stable GNU libtool and set my paths to  
prefer it over the Apple version. It did not solve the problem.

I then poked around and it appears that many of the softwares within  
vlc-0.8.5/extras/contrib/src/ have generated their own libtool. For  
example, a52dec contains libtool 1.4.2a, substantially older than the  
latest stable version installed on my system.

Does anybody have any insight into these problems? If indeed there  
are questions about ICC and not something simple, I can get in touch  
with Intel's tech support.

I'm currently trying 0.9.0-svn and I will see if that has any impact  
on these problems. The nature of compiling is quite time-consuming,  
so it will be a little while before I can see the results.

-Galen

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list