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: Thu, 01 Dec 2005 23:49:58 +0100



>Okie, can you try the following patch?  There might be more problems,
>but this one should fix it for socket.h.  A cheap way of getting all
>errors is running `make -k', instead of `make' while compiling, it
>will ignore all errors and try to compile as much as possible.  You
>can dump it to a log file and then send it here for us to examine, and
>maybe fix the remaining problems.

Ok, i patched localhost.c and as you said, there are new errors:

localhost.c:32:20: error: stdint.h: No such file or directory
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


I attached the comlete logfile from a run with make -k.

Thanks,

Johannes

>2005-12-01  Alfred M. Szmidt  <address@hidden>
>
>        * localhost.c: Include <stdint.h>.
>
>
>--- libinetutils/localhost.c    21 Jan 2005 13:53:49 +0100      1.12
>+++ libinetutils/localhost.c    01 Dec 2005 20:03:29 +0100      
>@@ -29,6 +29,7 @@
> #if defined(STDC_HEADERS) || defined(HAVE_STDLIB_H)
> #include <stdlib.h>
> #endif
>+#include <stdint.h>
> #include <string.h>
> #include <errno.h>
> #include <sys/types.h>

Attachment: inetutil_logfile
Description: Binary data


reply via email to

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