bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] Compile problems on Solaris


From: Johannes Fleischer
Subject: Re: [bug-inetutils] Compile problems on Solaris
Date: Fri, 02 Dec 2005 15:41:26 +0100

Sorry, it looks still similar:

[ ... ]
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -DPATH_TTY_PFX=\"/dev/\" 
-DPATH_DEVNULL=\"/dev/null\"  -I../headers -I../lib    -g -O2 -MT localhost.o 
-MD -MP -MF ".deps/localhost.Tpo" -c -o localhost.o localhost.c; \
then mv -f ".deps/localhost.Tpo" ".deps/localhost.Po"; else rm -f 
".deps/localhost.Tpo"; exit 1; fi
In file included from localhost.c:36:
/usr/include/sys/socket.h:52: error: two or more data types in declaration 
specifiers
/usr/include/sys/socket.h:52: error: two or more data types in declaration 
specifiers
/usr/include/sys/socket.h:61: error: syntax error before numeric constant
In file included from localhost.c:36:
/usr/include/sys/socket.h:293: error: syntax error before numeric constant
/usr/include/sys/socket.h:305: error: syntax error before '}' token
/usr/include/sys/socket.h:371: error: syntax error before numeric constant
/usr/include/sys/socket.h:374: error: syntax error before '}' token
/usr/include/sys/socket.h:443: error: syntax error before numeric constant
/usr/include/sys/socket.h:444: error: syntax error before numeric constant
/usr/include/sys/socket.h:457: error: syntax error before numeric constant
/usr/include/sys/socket.h:458: error: syntax error before numeric constant
In file included from localhost.c:38:
/usr/include/netdb.h:308: error: syntax error before numeric constant
gmake[2]: *** [localhost.o] Error 1
gmake[2]: Leaving directory `/tmp/inetutils/libinetutils'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/inetutils'
gmake: *** [all] Error 2


Johannes

>I commited a bunch of things to the CVS that should atleast fix
>localhost.c, i.e. we include stdint.h from gnulib and made localhost.c
>include stdint.h (I updated gnulib while I was at it).  Could you try
>the fixes?
>
>For the other people on the list, here are the ChangeLog entries:
>
>libinetutils/ChangeLog
>2005-12-02  Alfred M. Szmidt  <address@hidden>
>
>        * localhost.c: Include <stdint.h>
>
>./ChangeLog
>2005-12-02  Alfred M. Szmidt  <address@hidden>
>
>        Imported GNUlib module: stdint.
>
>        * lib/Makefile.am, m4/gnulib-cache.m4, m4/gnulib-comp.m4: Updated.
>        * m4/stdint.m4, lib/stdint_.h: New files.
>
>2005-12-02  Alfred M. Szmidt  <address@hidden>
>
>        Update from GNUlib.
>
>        * config.rpath, lib/getdelim.c, lib/getdelim.h, lib/mbchar.c,
>        lib/mbchar.h, lib/mbuiter.h, lib/memchr.c, lib/pipe-safer.c,
>        lib/stdio--.h, lib/strnlen.h, lib/strnlen1.c, lib/strnlen1.h,
>        lib/unistd--.h, m4/getdelim.m4, m4/gnulib-cache.m4,
>        m4/gnulib-comp.m4, m4/gnulib-tool.m4, m4/mbchar.m4, m4/mbiter.m4,
>        m4/mbrtowc.m4, m4/memchr.m4: New files.
>        * lib/Makefile.am, lib/dup-safer.c, lib/exitfail.c,
>        lib/fd-safer.c, lib/fopen-safer.c, lib/free.c, lib/getcwd.c,
>        lib/getcwd.h, lib/getline.c, lib/getline.h, lib/getopt1.c,
>        lib/getopt_.h, lib/getpass.c, lib/getusershell.c, lib/malloc.c,
>        lib/memcmp.c, lib/memcpy.c, lib/memmove.c, lib/obstack.c,
>        lib/obstack.h, lib/poll.c, lib/readutmp.c, lib/realloc.c,
>        lib/regcomp.c, lib/regex.c, lib/regex.h, lib/regex_internal.c,
>        lib/regex_internal.h, lib/regexec.c, lib/strcase.h,
>        lib/strcasecmp.c, lib/strerror.c, lib/strncasecmp.c,
>        lib/strndup.c, lib/strnlen.c, lib/unistd-safer.h,
>        lib/xalloc-die.c, lib/xgetcwd.c, lib/xmalloc.c, m4/free.m4,
>        m4/getcwd.m4, m4/getline.m4, m4/getopt.m4, m4/getpass.m4,
>        m4/lib-link.m4, m4/lib-prefix.m4, m4/minmax.m4,
>        m4/onceonly_2_57.m4, m4/regex.m4, m4/stdbool.m4,
>        m4/stdio-safer.m4, m4/strcase.m4, m4/strndup.m4, m4/strnlen.m4,
>        m4/unistd-safer.m4, m4/xgetcwd.m4: Updated from gnulib.
>        * lib/getndelim2.c, lib/getndelim2.h, m4/argp.m4,
>        m4/getndelim2.m4, m4/gnulib.m4, m4/ssize_t.m4: Removed files.
>
>2005-12-02  Alfred M. Szmidt  <address@hidden>
>
>        * configure.ac (gl_MODULES): Removed call to function.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]