[vlc-devel] Build of VLC snapshot-20030116 fails usin SUN studio7 cc

Lars Tunkrans lars.tunkrans at bredband.net
Fri Jan 17 00:18:52 CET 2003


Sorry if this is getting boring but I wanted these
initial test reports off to you guys tonight.

SUN cc  complains about GNU C compiler directive.

cc: Warning: illegal option -finline-limit-30000



$CFLAGS=-xarch=v8plusa export CFLAGS
$ type cc
cc is a tracked alias for /opt/SUNWspro/bin/cc
$ CC=/opt/SUNWspro/bin/cc export CC
$ type CC
CC is /opt/SUNWspro/bin/CC
$ CXX=/opt/SUNWspro/bin/CC
$ export CXX
$ ./configure --with-dvdcss=/usr/local --with-dvdread=/usr/local
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking target system type... sparc-sun-solaris2.9
checking for a BSD-compatible install... /opt/sfw/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... /opt/SUNWspro/bin/cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether /opt/SUNWspro/bin/cc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of /opt/SUNWspro/bin/cc... none
checking whether /opt/SUNWspro/bin/cc and cc understand -c and -o together... yes
checking how to run the C preprocessor... /opt/SUNWspro/bin/cc -E
checking whether we are using the GNU C++ compiler... no
checking whether /opt/SUNWspro/bin/CC accepts -g... yes
checking dependency style of /opt/SUNWspro/bin/CC... none
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD-compatible install... /opt/sfw/bin/ginstall -c
checking for an Objective-C compiler... checking dependency style of /opt/SUNWspro/bin/CC... none
not implemented yet
checking for ranlib... ranlib
checking for strip... strip
checking for ar... ar
checking for ld... ld
checking for a BSD-compatible install... /opt/sfw/bin/ginstall -c
checking for /opt/SUNWspro/bin/cc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for ranlib... (cached) ranlib
checking for strerror in -lcposix... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... no
checking for non-GNU ld... ld
checking if the linker (ld) is GNU ld... no
checking for shared library run path origin... ./config.rpath: ./config.rpath: No such file or directory
done
checking argz.h usability... no
checking argz.h presence... no
checking for argz.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... no
checking for fgets_unlocked... no
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... no
checking for munmap... yes
checking for putenv... yes
checking for setenv... no
checking for setlocale... yes
checking for stpcpy... no
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for iconv... yes
checking for iconv declaration...
          extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, 
size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... no
checking for msgfmt... /opt/sfw/bin/msgfmt
checking for gmsgfmt... /opt/sfw/bin/msgfmt
checking for xgettext... /opt/sfw/bin/xgettext
checking for bison... bison
checking version of bison... 1.28, ok
checking for catalogs to be installed...  de en_GB fr it ja no ru nl pl se
checking for textdomain... yes
checking for suffix of libraries... .so
checking for gettimeofday... yes
checking for select... yes
checking for strerror... yes
checking for strtod... yes
checking for strtol... yes
checking for isatty... yes
checking for vasprintf... no
checking for swab... yes
checking for sigrelse... yes
checking for getpwuid... yes
checking for memalign... yes
checking for posix_memalign... no
checking for gethostbyname2... no
checking for atoll... yes
checking for getenv... yes
checking for putenv... (cached) yes
checking for setenv... (cached) no
checking for strdup... (cached) yes
checking for strndup... no
checking for atof... yes
checking for lseek... yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for send... no
checking for send in -lsocket... yes
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for nanosleep... no
checking for nanosleep in -lrt... yes
checking for socklen_t... yes
checking for sem_init in -lrt... yes
checking for inet_aton... no
checking for inet_aton in -lresolv... yes
checking for getopt_long... no
checking for getopt_long in -lgnugetopt... no
checking return type of signal handlers... void
checking for dlopen in -ldl... yes
checking for cos in -lm... yes
checking for pow in -lm... yes
checking for main in -lpthread... yes
checking for cthread_fork in -lthreads... no
checking for pthread_cond_t in pthread.h... yes
checking for pthread_once in pthread.h... yes
checking for strncasecmp in strings.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for stdint.h... (cached) no
checking getopt.h usability... no
checking getopt.h presence... no
checking for getopt.h... no
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking sys/int_types.h usability... yes
checking sys/int_types.h presence... yes
checking for sys/int_types.h... yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for sys/stat.h... (cached) yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking image.h usability... no
checking image.h presence... no
checking for image.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking net/if.h usability... no
checking net/if.h presence... yes
configure: WARNING: net/if.h: present but cannot be compiled
configure: WARNING: net/if.h: check for missing prerequisite headers?
configure: WARNING: net/if.h: proceeding with the preprocessor's result
checking for net/if.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking machine/param.h usability... no
checking machine/param.h presence... no
checking for machine/param.h... no
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking linux/version.h usability... no
checking linux/version.h presence... no
checking for linux/version.h... no
checking whether time.h and sys/time.h may both be included... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking for nanosleep in time.h... yes
checking for timespec in sys/time.h... yes
checking cthreads.h usability... no
checking cthreads.h presence... no
checking for cthreads.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking kernel/scheduler.h usability... no
checking kernel/scheduler.h presence... no
checking for kernel/scheduler.h... no
checking kernel/OS.h usability... no
checking kernel/OS.h presence... no
checking for kernel/OS.h... no
checking for X11/extensions/dpms.h... no
checking for ntohl in sys/param.h... no
checking if $CC accepts -finline-limit... yes
checking if $CC accepts -Wall... no
checking if $CC accepts -Wconversion... no
checking if $CC accepts -Wunreachable-code... no
checking if $CC accepts -Wsign-compare... no
checking if $CC accepts -Wdisabled-optimization... no
checking if $CC accepts -Winline... no
checking if $CC accepts -pipe... yes
checking if $CC accepts -O3... yes
checking if $CC accepts -ffast-math... yes
checking if $CC accepts -funroll-loops... yes
checking if $CC accepts -fomit-frame-pointer... yes
checking if $CC accepts -mdynamic-no-pic... yes
checking if $CC accepts -bundle -undefined error -lcc_dynamic... yes
checking if $CC accepts -shared... yes
checking for variadic cpp macros... no
checking __attribute__ ((aligned ())) support... 0
checking __attribute__ ((format ())) support with function pointers... no
checking if $CC groks MMX inline assembly... no
checking if $CC groks MMX EXT inline assembly... no
checking if $CC groks 3D Now! inline assembly... no
checking if $CC groks SSE inline assembly... no
checking if $CC groks AltiVec inline assembly... no
checking if $CC groks AltiVec C extensions... no
checking if linker needs -framework vecLib... no
checking for dvdcss headers in /usr/local... yes
checking for dvdread headers in /usr/local... yes
checking dvdplay/dvdplay.h usability... no
checking dvdplay/dvdplay.h presence... no
checking for dvdplay/dvdplay.h... no
checking for dvbpsi/dr.h... no
configure: WARNING: cannot find libdvbpsi headers
checking for cdrom_msf0 in linux/cdrom.h... no
checking for scsireq in sys/scsiio.h... no
checking for ioc_toc_header in sys/cdio.h... no
checking for inet_pton... no
checking for inet_pton in -lresolv... no
checking for sockaddr_in6 in netinet/in.h... yes
checking ogg/ogg.h usability... no
checking ogg/ogg.h presence... no
checking for ogg/ogg.h... no
checking id3tag.h usability... no
checking id3tag.h presence... no
checking for id3tag.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking a52dec/a52.h usability... no
checking a52dec/a52.h presence... no
checking for a52dec/a52.h... no
checking vorbis/codec.h usability... no
checking vorbis/codec.h presence... no
checking for vorbis/codec.h... no
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/extensions/Xv.h usability... no
checking X11/extensions/Xv.h presence... no
checking for X11/extensions/Xv.h... no
checking for sdl12-config... no
checking for sdl11-config... no
checking for sdl-config... /opt/sfw/bin/sdl-config
checking SDL/SDL.h usability... yes
checking SDL/SDL.h presence... yes
checking for SDL/SDL.h... yes
checking linux/fb.h usability... no
checking linux/fb.h presence... no
checking for linux/fb.h... no
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
checking sys/soundcard.h usability... no
checking sys/soundcard.h presence... no
checking for sys/soundcard.h... no
checking machine/soundcard.h usability... no
checking machine/soundcard.h presence... no
checking for machine/soundcard.h... no
checking for gtk12-config... no
checking for gtk-config... /opt/sfw/bin/gtk-config
checking gtk/gtk.h usability... yes
checking gtk/gtk.h presence... yes
checking for gtk/gtk.h... yes
checking glib.h usability... yes
checking glib.h presence... yes
checking for glib.h... yes
checking gdk/gdk.h usability... yes
checking gdk/gdk.h presence... yes
checking for gdk/gdk.h... yes
checking for wx-config... no
checking Cocoa/Cocoa.h usability... no
checking Cocoa/Cocoa.h presence... no
checking for Cocoa/Cocoa.h... no
checking Ph.h usability... no
checking Ph.h presence... no
checking for Ph.h... no
checking whether the byte order is big-endian... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating debian/Makefile
config.status: creating doc/Makefile
config.status: creating intl/Makefile
config.status: creating ipkg/Makefile
config.status: creating lib/Makefile
config.status: creating m4/Makefile
config.status: creating modules/Makefile
config.status: creating po/Makefile.in
config.status: creating share/Makefile
config.status: creating src/Makefile
config.status: creating vlc-config
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default commands

vlc configuration
--------------------
vlc version           : snapshot-20030116
system                : solaris
architecture          : sparc
build flavour         : optim devel
vlc aliases           : gvlc

To build vlc and its plugins, type `make'.

$ gmake
rm -f include/vlc_symbols.h.in
echo '/* DO NOT EDIT THIS FILE! See Makefile.am */' >> include/vlc_symbols.h.in
echo 'struct module_symbols_t {' >> include/vlc_symbols.h.in
cat include/aout_internal.h include/audio_output.h include/beos_specific.h include/configuration.h 
include/darwin_specific.h include/codecs.h include/error.h include/input_ext-dec.h 
include/input_ext-intf.h include/input_ext-plugins.h include/interface.h include/intf_eject.h 
include/iso_lang.h include/main.h include/mmx.h include/modules.h include/modules_inner.h 
include/mtime.h include/netutils.h include/network.h include/os_specific.h include/stream_control.h 
include/stream_output.h include/variables.h include/video.h include/video_output.h 
include/vlc_common.h include/vlc_config.h include/vlc_cpu.h include/vlc_messages.h 
include/vlc_objects.h include/vlc_playlist.h include/vlc_threads.h include/vlc_threads_funcs.h 
include/win32_specific.h  | grep '^ *VLC_EXPORT.*;' | sed -e 's/VLC_EXPORT( *\([^,]*\), *\([^,]*\), 
*\(.*\));.*/    \1 (* \2_inner) \3;/' >> include/vlc_symbols.h.in
echo '};' >> include/vlc_symbols.h.in
echo '#ifdef __PLUGIN__' >> include/vlc_symbols.h.in
cat include/aout_internal.h include/audio_output.h include/beos_specific.h include/configuration.h 
include/darwin_specific.h
include/codecs.h include/error.h include/input_ext-dec.h include/input_ext-intf.h 
include/input_ext-plugins.h include/interface.h include/intf_eject.h include/iso_lang.h 
include/main.h include/mmx.h include/modules.h include/modules_inner.h include/mtime.h 
include/netutils.h include/network.h include/os_specific.h include/stream_control.h 
include/stream_output.h include/variables.h include/video.h include/video_output.h 
include/vlc_common.h include/vlc_config.h include/vlc_cpu.h include/vlc_messages.h 
include/vlc_objects.h include/vlc_playlist.h include/vlc_threads.h include/vlc_threads_funcs.h 
include/win32_specific.h  | grep '^ *VLC_EXPORT.*;' | sed -e 's/VLC_EXPORT( *\([^,]*\), *\([^,]*\), 
*\(.*\));.*/#   define \2 p_symbols->\2_inner/'
 >> include/vlc_symbols.h.in
echo '#endif /* __PLUGIN__ */' >> include/vlc_symbols.h.in
mv -f include/vlc_symbols.h.in include/vlc_symbols.h
rm -f src/misc/modules_builtin.h.tmp && cp src/misc/modules_builtin.h.in src/misc/modules_builtin.h.tmp
echo "#define ALLOCATE_ALL_BUILTINS() \\" >> src/misc/modules_builtin.h.tmp
echo "    do \\" >> src/misc/modules_builtin.h.tmp
echo "    { \\" >> src/misc/modules_builtin.h.tmp
echo "    } while( 0 );" >> src/misc/modules_builtin.h.tmp
echo "" >> src/misc/modules_builtin.h.tmp
mv -f src/misc/modules_builtin.h.tmp src/misc/modules_builtin.h
rm -f src/misc/modules_plugin.h.tmp && cp src/misc/modules_plugin.h.in src/misc/modules_plugin.h.tmp
sed -e 's#.*\I][d]:.*# * Automatically generated from 'src/misc/modules_plugin.h'.in by bootstrap#' 
< src/misc/modules_plugin.h.in > src/misc/modules_plugin.h.tmp
echo '#define STORE_SYMBOLS( p_symbols ) \' >> src/misc/modules_plugin.h.tmp
cat include/aout_internal.h include/audio_output.h include/beos_specific.h include/configuration.h 
include/darwin_specific.h
include/codecs.h include/error.h include/input_ext-dec.h include/input_ext-intf.h 
include/input_ext-plugins.h include/interface.h include/intf_eject.h include/iso_lang.h 
include/main.h include/mmx.h include/modules.h include/modules_inner.h include/mtime.h 
include/netutils.h include/network.h include/os_specific.h include/stream_control.h 
include/stream_output.h include/variables.h include/video.h include/video_output.h 
include/vlc_common.h include/vlc_config.h include/vlc_cpu.h include/vlc_messages.h 
include/vlc_objects.h include/vlc_playlist.h include/vlc_threads.h include/vlc_threads_funcs.h 
include/win32_specific.h  | grep '^ *VLC_EXPORT.*;' | sed -e 's/VLC_EXPORT( *\([^,]*\), *\([^,]*\), 
*\(.*\));.*/    (p_symbols)->\2_inner = \2; \\/' >> src/misc/modules_plugin.h.tmp
echo '' >> src/misc/modules_plugin.h.tmp
mv -f src/misc/modules_plugin.h.tmp src/misc/modules_plugin.h
gmake  all-recursive
gmake[1]: Entering directory `/home/ltu/dvd/vlc-snapshot-20030116'
Making all in po
gmake[2]: Entering directory `/home/ltu/dvd/vlc-snapshot-20030116/po'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/home/ltu/dvd/vlc-snapshot-20030116/po'
Making all in intl
gmake[2]: Entering directory `/home/ltu/dvd/vlc-snapshot-20030116/intl'
/opt/SUNWspro/bin/cc -c -DLOCALEDIR=\"/usr/local/share/locale\" 
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. 
-I../intl -DSYS_SOLARIS -xarch=v8plusa -finline-limit-30000 -pipe  intl-compat.c
cc: Warning: illegal option -finline-limit-30000
usage: cc [ options] files.  Use 'cc -flags' for details
gmake[2]: *** [intl-compat.o] Error 1
gmake[2]: Leaving directory `/home/ltu/dvd/vlc-snapshot-20030116/intl'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/ltu/dvd/vlc-snapshot-20030116'
gmake: *** [all] Error 2
$


-- 
========================================================
Lars Tunkrans
ICL Distinguished Engineer,
SUN Certified Network Administrator
Microsoft MCP MCP+I MCSE MCSE+I

Hemma:	       lars.tunkrans at bredband.net
--------------------------------------------------------

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list