On Wed, 6 Jun 2012 18:56:13 -0500 Peter Fales wrote:
> Yes, it finished building with those 2 changes.

thanks
they are in the master source
at some point that situation will have to be iffe'd

> On Wed, Jun 06, 2012 at 05:12:50PM -0400, Glenn Fowler wrote:
> > 
> > thanks
> > see if the __MACH__ guard works after #include "FEATURES/standards" in 
> > sfcvt.c
> > 
> > On Wed, 6 Jun 2012 15:54:34 -0500 Peter Fales wrote:
> > > --EVF5PPMfhYS0aIcm
> > > Content-Type: text/plain; charset=us-ascii
> > > Content-Disposition: inline
> > 
> > > With that change, it got past procopen.c and failed with a similar 
> > > looking error in  sfcvt.c.  (I've attached a snippet of the build log
> > > with the error) 
> > 
> > > On Wed, Jun 06, 2012 at 02:39:54PM -0400, Glenn Fowler wrote:
> > > > 
> > > > On Wed, 6 Jun 2012 13:18:14 -0500 Peter Fales wrote:
> > > > > sa_family_t is defined in sys/socket.h and doesn't have any guards
> > > > > other than _SYS_SOCKET_H_ at the start of the file.   However, it's
> > > > > defined as 
> > > > 
> > > > >        typedef u_char          sa_family_t;
> > > > 
> > > > > and u_char is defined in sys/types.h and guarded with  #ifndef 
> > > > > _POSIX_SOURCE
> > > > 
> > > > I had to modify src/lib/libast/misc/proclib.h for a gnu/linux 
> > > > sys/sockets.h problem
> > > > that area is a mess
> > > > try this
> > > > edit src/lib/libast/misc/proclib.h
> > > > and change
> > > >         #include <ast_standards.h>
> > > > to
> > > >         #include <ast_standards.h>
> > > >         #if __MACH__
> > > >         #undef  _POSIX_SOURCE
> > > >         #endif
> > > > 
> > > > > On Wed, Jun 06, 2012 at 01:56:58PM -0400, Glenn Fowler wrote:
> > > > > > 
> > > > > > can you see what header defines sa_family_t
> > > > > > and if it has any macro guards
> > > > > > 
> > > > > > On Tue, 5 Jun 2012 13:36:41 -0500 Peter Fales wrote:
> > > > > > > New build error with this release on our Darwin 10.3 
> > > > > > > (darwin7.ppc) machine:
> > > > > > 
> > > > > > > + silent test -d .
> > > > > > > + /bin/cp FEATURE/wait ast_wait.h
> > > > > > > + cc -D_BLD_DLL -dynamic -D_BLD_ast -O2 -I. 
> > > > > > > -I/Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/src/lib/libast
> > > > > > >  -Icomp 
> > > > > > > -I/Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/src/lib/libast/comp
> > > > > > >  -Imisc 
> > > > > > > -I/Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/src/lib/libast/misc
> > > > > > >  -Iinclude 
> > > > > > > -I/Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/src/lib/libast/include
> > > > > > >  -Istd 
> > > > > > > -I/Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/src/lib/libast/std
> > > > > > >  -D_PACKAGE_ast -c 
> > > > > > > /Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/src/lib/libast/misc/procopen.c
> > > > > > >                                        
> > > > > > > In file included from 
> > > > > > > /Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/src/lib/libast/misc/procopen.c:60:
> > > > > > > /usr/include/sys/socket.h:77: error: parse error before 
> > > > > > > "sa_family_t"
> > > > > > > /usr/include/sys/socket.h:213: error: parse error before "u_char"
> > > > > > > /usr/include/sys/socket.h:216: error: parse error before '}' token
> > > > > > > /usr/include/sys/socket.h:224: error: parse error before "u_short"
> > > > > > > /usr/include/sys/socket.h:238: error: parse error before "u_char"
> > > > > > > /usr/include/sys/socket.h:240: error: _char' undeclared here (not 
> > > > > > > in a function)
> > > > > > > /usr/include/sys/socket.h:242: error: _char' undeclared here (not 
> > > > > > > in a function)
> > > > > > > /usr/include/sys/socket.h:242: error: _char' undeclared here (not 
> > > > > > > in a function)
> > > > > > > /usr/include/sys/socket.h:243: error: parse error before '}' token
> > > > > > > /usr/include/sys/socket.h:376: error: parse error before "u_int"
> > > > > > > /usr/include/sys/socket.h:380: error: parse error before '}' token
> > > > > > > /usr/include/sys/socket.h:471: error: parse error before "u_short"
> > > > > > > /usr/include/sys/socket.h:473: error: parse error before '}' token
> > > > > > > mamake [lib/libast]: *** exit code 1 making procopen.o
> > > > 
> > > > > -- 
> > > > > Peter Fales
> > > > > Alcatel-Lucent
> > > > > Member of Technical Staff
> > > > > 1960 Lucent Lane
> > > > > Room: 9H-505
> > > > > Naperville, IL 60566-7033
> > > > > Email: [email protected]
> > > > > Phone: 630 979 8031
> > 
> > > -- 
> > > Peter Fales
> > > Alcatel-Lucent
> > > Member of Technical Staff
> > > 1960 Lucent Lane
> > > Room: 9H-505
> > > Naperville, IL 60566-7033
> > > Email: [email protected]
> > > Phone: 630 979 8031
> > 
> > > --EVF5PPMfhYS0aIcm
> > > Content-Type: text/plain; charset=us-ascii
> > > Content-Disposition: attachment; filename=1
> > 
> > > + cc -D_BLD_DLL -dynamic -D_BLD_ast -O2 -I. 
> > > -I/Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/src/lib/libast 
> > > -Icomp 
> > > -I/Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/src/lib/libast/comp
> > >  -Iport 
> > > -I/Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/src/lib/libast/port
> > >  -Isfio 
> > > -I/Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/src/lib/libast/sfio
> > >  -Iinclude 
> > > -I/Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/src/lib/libast/include
> > >  -Istd 
> > > -I/Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/src/lib/libast/std
> > >  
> > > -I/Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/arch/darwin7.ppc/include/ast
> > >  -D_PACKAGE_ast -c 
> > > /Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/src/lib/libast/sfio/sfcvt.c
> > > In file included from /usr/include/sys/select.h:71,
> > >                  from 
> > > /Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/src/lib/libast/sfio/sfhdr.h:442,
> > >                  from 
> > > /Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/src/lib/libast/sfio/sfcvt.c:30:
> > > /usr/include/sys/event.h:68: error: parse error before "u_short"
> > > /usr/include/sys/event.h:72: error: parse error before '}' token
> > > In file included from 
> > > /Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/src/lib/libast/sfio/sfhdr.h:442,
> > >                  from 
> > > /Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/src/lib/libast/sfio/sfcvt.c:30:
> > > /usr/include/sys/select.h:88: error: parse error before "u_int"
> > > In file included from 
> > > /Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/src/lib/libast/sfio/sfhdr.h:442,
> > >                  from 
> > > /Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/src/lib/libast/sfio/sfcvt.c:30:
> > > /usr/include/sys/select.h:117: error: parse error before "fd_set"
> > > /usr/include/sys/select.h:120: error: parse error before "fd_set"
> > > In file included from 
> > > /Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/src/lib/libast/sfio/sfhdr.h:465,
> > >                  from 
> > > /Volumes/UFS_exp2/exptools/expmake/build/astsrc/build/src/lib/libast/sfio/sfcvt.c:30:
> > > /usr/include/sys/socket.h:77: error: parse error before "sa_family_t"
> > > /usr/include/sys/socket.h:213: error: parse error before "u_char"
> > > /usr/include/sys/socket.h:216: error: parse error before '}' token
> > > /usr/include/sys/socket.h:224: error: parse error before "u_short"
> > > /usr/include/sys/socket.h:238: error: parse error before "u_char"
> > > /usr/include/sys/socket.h:240: error: `u_char' undeclared here (not in a 
> > > function)
> > > /usr/include/sys/socket.h:242: error: `u_char' undeclared here (not in a 
> > > function)
> > > /usr/include/sys/socket.h:242: error: `u_char' undeclared here (not in a 
> > > function)
> > > /usr/include/sys/socket.h:243: error: parse error before '}' token
> > > /usr/include/sys/socket.h:376: error: parse error before "u_int"
> > > /usr/include/sys/socket.h:380: error: parse error before '}' token
> > > /usr/include/sys/socket.h:471: error: parse error before "u_short"
> > > /usr/include/sys/socket.h:473: error: parse error before '}' token
> > 
> > > --EVF5PPMfhYS0aIcm--
> > 
> > _______________________________________________
> > ast-users mailing list
> > [email protected]
> > https://mailman.research.att.com/mailman/listinfo/ast-users

> -- 
> Peter Fales
> Alcatel-Lucent
> Member of Technical Staff
> 1960 Lucent Lane
> Room: 9H-505
> Naperville, IL 60566-7033
> Email: [email protected]
> Phone: 630 979 8031

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

Reply via email to