Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: ProC Wierdness during make...
Make sure u_char is really defined in the headers used by socket.h. For
example, on my SGI I need to include <sys/types.h> in my source code
before <sys/socket.h> to make sure uid_t gets defined. Use the following
command to see where u_char is defined ( my apologies if this is obvious to
you ):
egrep '.*typedef.*u_char' /usr/include/sys/*.h
Kathy Rodittis
rodittis_at_hughes.net
Jim wrote:
> Using the distributed sample makefile, "proc.mk", we're trying to build
> an application
> on AIX 4. Compile exits after objecting to "syntax errors" in the
> include libraries. These are the
> include libraries in /usr/include, specifically the socket.h header.
> Seems not to like structure
> declarations having the type u_char in them.
>
> Anyone have a clue about this?
>
> Jim Drummey
> Drum Engineering Inc.
> jpd_at_drum.terranet.com
Received on Tue Jan 19 1999 - 18:44:09 CST