help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Can't compile in Ubuntu 9.04


From: Tim Kack
Subject: Re: [Help-smalltalk] Can't compile in Ubuntu 9.04
Date: Mon, 15 Jun 2009 10:15:57 +0200

Hi Javier,

I have not further investigated why it fails, but here is how I have to
do to build it successfully on any recent ubuntu release:
1. Remove Lightning library (apt-get remove lightning) - can possibly be
worked around with a --disable flag, but I have not explored that route
2. Then I need to run LIBTOOLIZE=`which true` autoreconf -vi

After that can I build gst successfully and it is working.
I should open a bug with some detailed info - but I have just not gotten
around it yet.

Best regards,
Tim


On Sun, 2009-06-14 at 21:53 -0300, Javier Pimás wrote:
> Hi, I'm trying to compile latest git in ubuntu 9.04 but build fails.
> I'm trying to do these steps,
> 
> autoreconf -vi
> ./configure
> make
> 
> but fail in make, here is the output, thanks in advance.
> 
> make  all-recursive
> make[1]: Entering directory `/home/javier/st/smalltalk'
> Making all in lib-src
> make[2]: Entering directory `/home/javier/st/smalltalk/lib-src'
> /bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I..     -g -O2 -Wall -Wdeclaration-after-statement -Wno-format
> -Wpointer-arith -Wno-pointer-sign -Wwrite-strings -Wno-strict-aliasing
> -Wno-switch -fno-gcse -fstrict-aliasing  -MT ltdl.lo -MD -MP -MF
> .deps/ltdl.Tpo -c -o ltdl.lo ltdl.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall
> -Wdeclaration-after-statement -Wno-format -Wpointer-arith
> -Wno-pointer-sign -Wwrite-strings -Wno-strict-aliasing -Wno-switch
> -fno-gcse -fstrict-aliasing -MT ltdl.lo -MD -MP -MF .deps/ltdl.Tpo -c
> ltdl.c  -fPIC -DPIC -o .libs/ltdl.o
> ltdl.c:855: error: ‘LTDL_OBJDIR’ undeclared here (not in a function)
> ltdl.c:2146: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘*’ token
> ltdl.c: In function ‘tryall_dlopen_module’:
> ltdl.c:2481: warning: implicit declaration of function ‘sprintf’
> ltdl.c:2481: warning: incompatible implicit declaration of built-in
> function ‘sprintf’
> ltdl.c: In function ‘find_file_callback’:
> ltdl.c:2726: error: ‘FILE’ undeclared (first use in this function)
> ltdl.c:2726: error: (Each undeclared identifier is reported only once
> ltdl.c:2726: error: for each function it appears in.)
> ltdl.c:2726: error: ‘pfile’ undeclared (first use in this function)
> ltdl.c:2726: error: invalid operands to binary * (have ‘const char *’ and 
> ‘int’)
> ltdl.c:2726: error: expected expression before ‘)’ token
> ltdl.c:2726: error: invalid operands to binary * (have ‘const char *’ and 
> ‘int’)
> ltdl.c:2726: warning: statement with no effect
> ltdl.c:2727: warning: ISO C90 forbids mixed declarations and code
> ltdl.c:2733: warning: implicit declaration of function ‘fopen’
> ltdl.c:2733: error: assignment of read-only location ‘*(const char
> *)&<erroneous-expression>’
> ltdl.c:2735: warning: initialisation discards qualifiers from pointer
> target type
> ltdl.c: At top level:
> ltdl.c:2748: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘*’ token
> ltdl.c:2753: error: expected identifier or ‘(’ before ‘{’ token
> ltdl.c: In function ‘try_dlopen’:
> ltdl.c:3082: warning: assignment discards qualifiers from pointer target type
> ltdl.c:3109: error: ‘FILE’ undeclared (first use in this function)
> ltdl.c:3109: error: ‘file’ undeclared (first use in this function)
> ltdl.c:3109: error: invalid operands to binary * (have ‘const char *’
> and ‘const char *’)
> ltdl.c:3109: warning: statement with no effect
> ltdl.c:3110: warning: ISO C90 forbids mixed declarations and code
> ltdl.c:3135: warning: implicit declaration of function ‘isalnum’
> ltdl.c:3158: warning: implicit declaration of function ‘find_file’
> ltdl.c:3158: warning: statement with no effect
> ltdl.c:3165: warning: statement with no effect
> ltdl.c:3185: warning: statement with no effect
> ltdl.c:3201: warning: implicit declaration of function ‘fclose’
> ltdl.c:3207: warning: implicit declaration of function ‘feof’
> ltdl.c:3209: warning: implicit declaration of function ‘fgets’
> ltdl.c:3277: warning: assignment discards qualifiers from pointer target type
> ltdl.c: In function ‘lt_dlopenext’:
> ltdl.c:3458: warning: assignment discards qualifiers from pointer target type
> make[2]: *** [ltdl.lo] Error 1
> make[2]: Leaving directory `/home/javier/st/smalltalk/lib-src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/javier/st/smalltalk'
> make: *** [all] Error 2
> 
> --
> Pocho
> Ciudad de Buenos Aires
> 
> 
> _______________________________________________
> help-smalltalk mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-smalltalk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]