[sdlsound] compiling the development version

Matt Flax flatmax at Matt.Flax
Wed Sep 14 08:59:11 EDT 2005


I have found that this is fixed by removing the local libtool file and 
using the system wide libtool file ...

Now I am having a compile time error ...

Does this look familiar to anyone ?

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../decoders/timidity -g -O2 -I/usr/include/SDL -D_REENTRANT -I/usr/include/smpeg -I/usr/include/SDL -D_REENTRANT -pthread -D_REENTRANT -MT smpeg.lo -MD -MP -MF .deps/smpeg.Tpo -c smpeg.c  -fPIC -DPIC -o .libs/smpeg.o
smpeg.c: In function 'RWops_pooled_free':
smpeg.c:57: error: storage class specified for parameter '_SMPEG_init'
smpeg.c:58: error: storage class specified for parameter '_SMPEG_quit'
smpeg.c:59: error: storage class specified for parameter '_SMPEG_open'
smpeg.c:60: error: storage class specified for parameter '_SMPEG_close'
smpeg.c:61: error: storage class specified for parameter '_SMPEG_read'
smpeg.c:62: error: storage class specified for parameter '_SMPEG_rewind'
smpeg.c:63: error: storage class specified for parameter '_SMPEG_seek'
smpeg.c:65: error: storage class specified for parameter 'extensions_smpeg'
smpeg.c:65: error: parameter 'extensions_smpeg' is initialized
smpeg.c:65: warning: initialization from incompatible pointer type
smpeg.c:65: warning: excess elements in scalar initializer
smpeg.c:65: warning: (near initialization for 'extensions_smpeg')
smpeg.c:65: warning: excess elements in scalar initializer
smpeg.c:65: warning: (near initialization for 'extensions_smpeg')
smpeg.c:65: warning: excess elements in scalar initializer
smpeg.c:65: warning: (near initialization for 'extensions_smpeg')
smpeg.c:66: error: parameter '__Sound_DecoderFunctions_SMPEG' is initialized
smpeg.c:86: error: storage class specified for parameter '_SMPEG_init'
smpeg.c:86: error: redefinition of parameter '_SMPEG_init'
smpeg.c:57: error: previous definition of '_SMPEG_init' was here
smpeg.c:86: error: syntax error before '{' token
smpeg.c:104: error: old-style parameter declarations in prototyped function definition
smpeg.c:104: error: 'v' undeclared (first use in this function)
smpeg.c:104: error: (Each undeclared identifier is reported only once
smpeg.c:104: error: for each function it appears in.)
smpeg.c: At top level:
smpeg.c:107: warning: data definition has no type or storage class
smpeg.c:108: error: syntax error before '}' token
make[3]: *** [smpeg.lo] Error 1


On Tue, Sep 13, 2005 at 11:30:24PM +1000, Matt Flax wrote:
> Hello,
> 
> I have used svn to co the latest development version.
> 
> I am trying to compile it now ... so I run bootstrap
> then I run configure - all good !
> 
> when I try to compile I get errors due to libtool (version 1.5.6)
> 
> make[3]: Entering directory 
> `/home/flatmax/work/DAISY/SDL_sound/decoders/timidity'
> if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
> -I../.. -I../..    -g -O2 -I/usr/include/SDL -D_REENTRANT 
> -I/usr/include/smpeg -I/usr/include/SDL -D_REENTRANT -pthread 
> -D_REENTRANT  -MT common.lo -MD -MP -MF ".deps/common.Tpo" -c -o 
> common.lo common.c; \
> then mv -f ".deps/common.Tpo" ".deps/common.Plo"; else rm -f 
> ".deps/common.Tpo"; exit 1; fi
> ../../libtool: line 323: s,^.*/,,g: No such file or directory
> ../../libtool: line 537: -e: command not found
> *** Warning: inferring the mode of operation is deprecated.
> *** Future versions of Libtool will require -mode=MODE be specified.
> ../../libtool: line 831: -e: command not found
> ../../libtool: line 831: -e: command not found
> ../../libtool: line 831: -e: command not found
> ../../libtool: line 831: -e: command not found
> ../../libtool: line 831: -e: command not found
> ../../libtool: line 831: -e: command not found
> ../../libtool: line 831: -e: command not found
> ../../libtool: line 831: -e: command not found
> ../../libtool: line 831: -e: command not found
> ../../libtool: line 831: -e: command not found
> ../../libtool: line 831: -e: command not found
> ../../libtool: line 831: -e: command not found
> ../../libtool: line 831: -e: command not found
> ../../libtool: line 831: -e: command not found
> ../../libtool: line 831: -e: command not found
> ../../libtool: line 831: -e: command not found
> ../../libtool: line 831: -e: command not found
> ../../libtool: line 831: -e: command not found
> ../../libtool: line 831: -e: command not found
> ../../libtool: line 831: -e: command not found
> ../../libtool: line 831: -e: command not found
> ../../libtool: line 831: -e: command not found
> ../../libtool: line 879: -e: command not found
> : compile: cannot determine name of library object from `'
> make[3]: *** [common.lo] Error 1
> 
> 
> -- 
> http://www.flatmax.org
> 
> Public Projects :
> http://sourceforge.net/search/?type_of_search=soft&words=mffm

-- 
http://www.flatmax.org

Public Projects :
http://sourceforge.net/search/?type_of_search=soft&words=mffm




More information about the sdlsound mailing list