On Sat, May 5, 2012 at 3:22 AM, Roland Mainz <[email protected]> wrote:
> On Fri, May 4, 2012 at 11:46 PM, Glenn Fowler <[email protected]> wrote:
>>
>> the AT&T Software Technology ast beta 2012-05-04 source release
>> has been posted to the download site
>>        http://www.research.att.com/sw/download/beta/
>>
>> the git source repository has also been updated
>>        http://www.research.att.com/sw/gitweb/
>>
>> the recent git web problems should be fixed
>
> This is mainly a portability issue with the "clang" compiler (C
> frontend for the llvm project) on Linux:
>
> On SuSE Linux 12.2/AMD64 I can't get ast-open to compile with the
> "clang" compiler (e.g. $ CC='/usr/bin/clang -std=gnu99' ./bin/package
> make #).
> The build fails in "id.c" like this:
> -- snip --
>
> /home/test001/work/ast_ksh_20120504/build_linux/src/lib/libcmd/id.c:233:17:
> error: use of undeclared identifier 'NGROUPS_MAX'
>                                maxgroups = NGROUPS_MAX;
> -- snip --
> My guess is that somehow "clang"'s hackery with the system includes
> somehow misses or prevents the definition of |NGROUPS_MAX| ...
> ... but thinking further: Shouldn't this value be obtained dynamically
> from the system using |_SC_NGROUPS_MAX| ?

Interesting side-note: ast-ksh.2012-05-04 compiles with "clang" 3.0
without problems. No clue why the ast-open build fails... yet...

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)

_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to