Re: [Fink-users] balsa-2.3.26-3 build failure on 10.5.5/Intel

2008-10-21 Thread Martin Costabel
Alexander Hansen wrote:
[]
> There was a bit of discussion on IRC about this, and one notion was  
> brought up, but not yet explored:
> 
> 17:23 < dmacks> That secure/_string.h error is probably triggered by the
>  FORTIFY_SOURCE flag...adds some strict safety  
> controls on
>  memory and other "likely mistakes", so unsetting the  
> flag would
>  maybe fix the build but doesn't change the apparent  
> fact that
>  the code itself is bad.

Yes, sure, that would be the cheap way out. I still would like to 
understand the error, though.

-- 
Martin

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] balsa-2.3.26-3 build failure on 10.5.5/Intel

2008-10-21 Thread Alexander Hansen

On Oct 21, 2008, at 3:44 AM, Martin Costabel wrote:

> Alexander Hansen wrote:
> []
>> /usr/include/secure/_string.h:52: error: syntax error before 'void'
>
> This is a strange one... Looking at the preprocessor output (to take  
> into account possible weird macros), the line in question remains  
> still the same, the first line of
>
> static inline void *
> __inline_memcpy_chk (void *__dest, const void *__src, size_t __len)
> {
>  return __builtin___memcpy_chk (__dest, __src, __len,  
> __builtin_object_size (__dest, 0));
> }
>
> I don't see why "static inline void *" should have a syntax error  
> before void.
>
> Is there a situation where "static inline" is forbidden? Any C gurus  
> out there?
>
> -- 
> Martin
>

There was a bit of discussion on IRC about this, and one notion was  
brought up, but not yet explored:

17:23 < dmacks> That secure/_string.h error is probably triggered by the
 FORTIFY_SOURCE flag...adds some strict safety  
controls on
 memory and other "likely mistakes", so unsetting the  
flag would
 maybe fix the build but doesn't change the apparent  
fact that
 the code itself is bad.



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] balsa-2.3.26-3 build failure on 10.5.5/Intel

2008-10-21 Thread Martin Costabel
Alexander Hansen wrote:
[]
> /usr/include/secure/_string.h:52: error: syntax error before 'void'

This is a strange one... Looking at the preprocessor output (to take 
into account possible weird macros), the line in question remains still 
the same, the first line of

static inline void *
__inline_memcpy_chk (void *__dest, const void *__src, size_t __len)
{
   return __builtin___memcpy_chk (__dest, __src, __len, 
__builtin_object_size (__dest, 0));
}

I don't see why "static inline void *" should have a syntax error before 
void.

Is there a situation where "static inline" is forbidden? Any C gurus out 
there?

-- 
Martin


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] balsa-2.3.26-3 build failure on 10.5.5/Intel

2008-10-20 Thread Alexander Hansen

[Macbook Core2Duo, OS 10.5.5, Xcode3.1.1]

This is a new package whose maintainer doesn't have a 10.5.x box as of  
yet.  The failure is as follows:


...
Making all in imap
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../.. -I../../libbalsa - 
I../../libbalsa/imap -I/sw/include   -I/sw/lib/pango-ft219/include/ 
pango-1.0 -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/ 
freetype219/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include - 
I/sw/include/libpng12 -I/sw/include -I/sw/include/pixman-1 -I/sw/ 
include/cairo -I/sw/include/gtk-2.0 -I/sw/include/atk-1.0 -I/sw/lib/ 
gtk-2.0/include -I/sw/include/libart-2.0 -I/sw/include/gail-1.0 -I/sw/ 
include/libxml2 -I/sw/include/libgnomecanvas-2.0 -I/sw/include/ 
libgnomeprint-2.2 -I/sw/include/libgnomeprintui-2.2 -I/sw/include/ 
orbit-2.0 -I/sw/include/bonobo-activation-2.0 -I/sw/include/ 
libbonobo-2.0 -I/sw/include/dbus-1.0 -I/sw/lib/dbus-1.0/include -I/sw/ 
include/gconf/2 -I/sw/include/gnome-vfs-2.0 -I/sw/include/gnome-vfs- 
module-2.0 -I/sw/lib/gnome-vfs2.16/gnome-vfs-2.0/include -I/sw/include/ 
libgnome-2.0 -I/sw/include/libbonoboui-2.0 -I/sw/include/gnome- 
keyring-1 -I/sw/include/libgnomeui-2.0 -I/sw/include/gmime-2.0 -I/usr/ 
X11R6/include -I/usr/X11/include -DORBIT2=1 -I/sw/lib/pango-ft219/ 
include/pango-1.0 -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/ 
freetype219/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include - 
I/sw/include/dbus-1.0 -I/sw/lib/dbus-1.0/include -I/sw/include/ 
orbit-2.0 -I/sw/include/libpng12 -I/sw/include -I/sw/include/pixman-1 - 
I/sw/include/cairo -I/sw/include/gtk-2.0 -I/sw/include/atk-1.0 -I/sw/ 
lib/gtk-2.0/include -I/sw/include/libxml2 -I/sw/include/gconf/2 -I/sw/ 
include/libart-2.0 -I/sw/include/gail-1.0 -I/sw/include/bonobo- 
activation-2.0 -I/sw/include/libbonobo-2.0 -I/sw/include/gnome-vfs-2.0  
-I/sw/lib/gnome-vfs2.16/gnome-vfs-2.0/include -I/sw/include/ 
libgnome-2.0 -I/sw/include/libgnomecanvas-2.0 -I/sw/include/ 
libbonoboui-2.0 -I/sw/include/gnome-keyring-1 -I/sw/include/enchant -I/ 
sw/include/libglade-2.0 -I/sw/include/libgnomeui-2.0 -I/sw/include/ 
libgtkhtml-3.14 -I/usr/X11R6/include -I/usr/X11/include -DORBIT2=1 -I/ 
sw/include -I/sw/include -I/sw/include   -I/sw/include/libxml2 -I/sw/ 
include  -I/sw/lib/pango-ft219/include/pango-1.0 -I/sw/lib/freetype219/ 
include/freetype2 -I/sw/lib/freetype219/include -I/sw/include/glib-2.0  
-I/sw/lib/glib-2.0/include -I/sw/include/libpng12 -I/sw/include -I/sw/ 
include/pixman-1 -I/sw/include/cairo -I/sw/include/gtk-2.0 -I/sw/ 
include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/include/gtkspell-2.0 - 
I/usr/X11R6/include -I/usr/X11/include  -I/sw/include -I/sw/include  - 
ansi -Os -I/sw/lib/pango-ft219/include/pango-1.0 -I/sw/lib/freetype219/ 
include/freetype2 -I/sw/lib/freetype219/include -I/sw/include/glib-2.0  
-I/sw/lib/glib-2.0/include -I/sw/include/dbus-1.0 -I/sw/lib/dbus-1.0/ 
include -I/sw/include/orbit-2.0 -I/sw/include/libpng12 -I/sw/include - 
I/sw/include/pixman-1 -I/sw/include/cairo -I/sw/include/gtk-2.0 -I/sw/ 
include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/include/libxml2 -I/sw/ 
include/gconf/2 -I/sw/include/libart-2.0 -I/sw/include/gail-1.0 -I/sw/ 
include/bonobo-activation-2.0 -I/sw/include/libbonobo-2.0 -I/sw/ 
include/gnome-vfs-2.0 -I/sw/lib/gnome-vfs2.16/gnome-vfs-2.0/include -I/ 
sw/include/libgnome-2.0 -I/sw/include/libgnomecanvas-2.0 -I/sw/include/ 
libbonoboui-2.0 -I/sw/include/gnome-keyring-1 -I/sw/include/enchant -I/ 
sw/include/libglade-2.0 -I/sw/include/libgnomeui-2.0 -I/sw/include/ 
libgtkhtml-3.14 -I/usr/X11R6/include -I/usr/X11/include -DORBIT2=1 - 
Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts - 
Wuninitialized -Wmissing-prototypes -Wreturn-type -Wdeclaration-after- 
statement -D_FORTIFY_SOURCE=2 -c auth-cram.c

In file included from /usr/include/string.h:148,
 from auth-cram.c:27:
/usr/include/secure/_string.h:52: error: syntax error before 'void'
/usr/include/secure/_string.h:63: error: syntax error before 'void'
/usr/include/secure/_string.h:74: error: syntax error before 'void'
/usr/include/secure/_string.h:85: error: syntax error before 'char'
/usr/include/secure/_string.h:96: error: syntax error before 'char'
/usr/include/secure/_string.h:107: error: syntax error before 'char'
/usr/include/secure/_string.h:119: error: syntax error before 'char'
/usr/include/secure/_string.h:130: error: syntax error before 'char'
make[3]: *** [auth-cram.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/__