Bad_expression error

Hello !

When trying to compile that latest SDL 1.2 i get
the following error in CYGWIN :-------------------------------

wizard at wizardspc ~/code/SDL/SDL
$ ./autogen.sh
Generating build information using autoconf
This may take a while …
/usr/bin/m4:configure.in:865: Warning: m4_eval: bad expression: m4_Cursor + 2 +
1
/usr/bin/m4:configure.in:865: Warning: m4_eval: bad expression: > (79)
/usr/bin/m4:configure.in:865: Warning: m4_eval: bad expression: 2426 > ()
autom4te-2.64: /usr/bin/m4 failed with exit status: 1
Couldn’t find autoconf, aborting

wizard at wizardspc ~/code/SDL/SDL
$


CU

This should be fixed with the latest subversion.On Sat, Sep 12, 2009 at 6:42 AM, Torsten Giebl wrote:

Hello !

When trying to compile that latest SDL 1.2 i get
the following error in CYGWIN :


wizard at wizardspc ~/code/SDL/SDL
$ ./autogen.sh
Generating build information using autoconf
This may take a while …
/usr/bin/m4:configure.in:865: Warning: m4_eval: bad expression: m4_Cursor + 2 +
1
/usr/bin/m4:configure.in:865: Warning: m4_eval: bad expression: ?> (79)
/usr/bin/m4:configure.in:865: Warning: m4_eval: bad expression: 2426 > ()
autom4te-2.64: /usr/bin/m4 failed with exit status: 1
Couldn’t find autoconf, aborting

wizard at wizardspc ~/code/SDL/SDL
$


CU


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

Hello !

This should be fixed with the latest subversion.

This maybe fixed for SDL 2, but not for SDL 1.2.

CU

I’m not seeing this problem myself. Is there a bugzilla entry for it?
Has anyone submitted an actual fix for 1.2?On Sat, Sep 19, 2009 at 3:35 AM, Torsten Giebl wrote:

Hello !

This should be fixed with the latest subversion.

This maybe fixed for SDL 2, but not for SDL 1.2.

CU


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

Hello !

I’m not seeing this problem myself. Is there a bugzilla entry for it?
Has anyone submitted an actual fix for 1.2?

For SDL 1.3/2 you fixed this problem with Revision 4726, just
by removing the outdated iPodLinux support. Is this an option for SDL 1.2 too ?

You get those errors when compiling SDL 1.2 with
the latest CYGWIN version on Windows, when compiling on Linux
this does not happen.

People had the exact same error with SDL 1.3, but
that is fixed now :

http://lists.libsdl.org/pipermail/sdl-libsdl.org/2009-September/072101.html
http://lists.libsdl.org/pipermail/sdl-libsdl.org/2009-September/072102.html

The configure stuff for iPodLinux is/was the same in SDL 1.2 and 1.3/2

Should i submit a bugzilla entry for this error ?

CU

I’m not comfortable with removing the ipodLinux support from 1.2. You
should definitely enter a bugzilla bug for the issue. Do you have any
idea exactly what’s causing it?On Mon, Sep 21, 2009 at 2:01 AM, Torsten Giebl wrote:

Hello !

I’m not seeing this problem myself. ?Is there a bugzilla entry for it?
?Has anyone submitted an actual fix for 1.2?

For SDL 1.3/2 you fixed this problem with Revision 4726, just
by removing the outdated iPodLinux support. Is this an option for SDL 1.2 too ?

You get those errors when compiling SDL 1.2 with
the latest CYGWIN version on Windows, when compiling on Linux
this does not happen.

People had the exact same error with SDL 1.3, but
that is fixed now :

http://lists.libsdl.org/pipermail/sdl-libsdl.org/2009-September/072101.html
http://lists.libsdl.org/pipermail/sdl-libsdl.org/2009-September/072102.html

The configure stuff for iPodLinux is/was the same in SDL 1.2 and 1.3/2

Should i submit a bugzilla entry for this error ?

CU


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

Hello !

I’m not comfortable with removing the ipodLinux support from 1.2. You
should definitely enter a bugzilla bug for the issue. Do you have any
idea exactly what’s causing it?

The attached patch for SDL 1.2 fixes the problem.

CU

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: SDL12_bad_expr_error_fix.patch
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20090921/91b10888/attachment.asc

Got it, thanks!On Mon, Sep 21, 2009 at 3:28 AM, Torsten Giebl wrote:

Hello !

I’m not comfortable with removing the ipodLinux support from 1.2. ?You
should definitely enter a bugzilla bug for the issue. ?Do you have any
idea exactly what’s causing it?

The attached patch for SDL 1.2 fixes the problem.

CU

diff -Naur SDL_old/configure.in SDL/configure.in
— SDL_old/configure.in ? ? ? ?2009-09-21 12:25:05.326600000 +0200
+++ SDL/configure.in ? ?2009-09-21 12:26:39.722200000 +0200
@@ -898,7 +898,7 @@
?CheckIPod()
?{
? ? AC_ARG_ENABLE(ipod,
-AC_HELP_STRING([–enable-ipod], [configure SDL to work with iPodLinux [default=yes on arm-elf]]),
+AC_HELP_STRING([–enable-ipod], [configure SDL to work with iPodLinux [[default=yes]]]),
? ? ? ? , enable_ipod=yes)

? ? if test x$enable_ipod = xyes; then


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC