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

[leafnode-list] problem compiling under solaris 2.5.1 (sparc)



------_=_NextPart_001_01BFA51D.50E5BCF2
Content-Type: text/plain;
	charset="iso-8859-1"

hello all

i'm trying to get leafnode compiled under solaris 2.5.1 (sparc) with the sun
workshop compiler (cc)

configure gives the folowing output :
creating cache ./config.cache
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc  ) works... yes
checking whether the C compiler (cc  ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking for a BSD compatible install... ./install-sh -c
checking whether make sets ${MAKE}... yes
checking for ranlib... ranlib
checking for ar... ar 
checking for rpm... no
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for errno.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for sys/time.h... yes
checking for syslog.h... yes
checking for unistd.h... yes
checking for ap_config.h... no
checking for system include files... yes
checking for working const... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for pcre.h... no
checking for gmtoff in struct tm... no
checking for BSD4.2 syslog... no
checking for working fnmatch... yes
checking return type of signal handlers... void
checking for strftime... yes
checking whether utime accepts a null argument... yes
checking for getcwd... yes
checking for gethostname... yes
checking for mkdir... yes
checking for mktime... yes
checking for rmdir... yes
checking for socket... no
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for mkstemp... yes
checking for setgid... yes
checking for setuid... yes
checking for snprintf... no
checking for gethostent... no
checking for gethostent in -lnsl... yes
checking for setsockopt... no
checking for setsockopt in -lsocket... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating pcre/Makefile
creating config.h

and when i run make i get the folowing error message:

cc -I. -DHAVE_CONFIG_H  -g  -c  nntputil.c
"./leafnode.h", line 40: syntax error before or at: size_t
"./leafnode.h", line 40: warning: undefined or missing type for: size_t
"./leafnode.h", line 40: warning: undefined or missing type for: const
cc: acomp failed for nntputil.c
*** Error code 2
make: Fatal error: Command failed for target `nntputil.o'

anyone any clues to this problem

------_=_NextPart_001_01BFA51D.50E5BCF2
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2448.0">
<TITLE>problem compiling under solaris 2.5.1 (sparc)</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>hello all</FONT>
</P>

<P><FONT SIZE=2>i'm trying to get leafnode compiled under solaris 2.5.1 (sparc) with the sun workshop compiler (cc)</FONT>
</P>

<P><FONT SIZE=2>configure gives the folowing output :</FONT>
<BR><FONT SIZE=2>creating cache ./config.cache</FONT>
<BR><FONT SIZE=2>checking for mawk... no</FONT>
<BR><FONT SIZE=2>checking for gawk... no</FONT>
<BR><FONT SIZE=2>checking for nawk... nawk</FONT>
<BR><FONT SIZE=2>checking for gcc... no</FONT>
<BR><FONT SIZE=2>checking for cc... cc</FONT>
<BR><FONT SIZE=2>checking whether the C compiler (cc&nbsp; ) works... yes</FONT>
<BR><FONT SIZE=2>checking whether the C compiler (cc&nbsp; ) is a cross-compiler... no</FONT>
<BR><FONT SIZE=2>checking whether we are using GNU C... no</FONT>
<BR><FONT SIZE=2>checking whether cc accepts -g... yes</FONT>
<BR><FONT SIZE=2>checking for a BSD compatible install... ./install-sh -c</FONT>
<BR><FONT SIZE=2>checking whether make sets ${MAKE}... yes</FONT>
<BR><FONT SIZE=2>checking for ranlib... ranlib</FONT>
<BR><FONT SIZE=2>checking for ar... ar </FONT>
<BR><FONT SIZE=2>checking for rpm... no</FONT>
<BR><FONT SIZE=2>checking for dirent.h that defines DIR... yes</FONT>
<BR><FONT SIZE=2>checking for opendir in -ldir... no</FONT>
<BR><FONT SIZE=2>checking how to run the C preprocessor... cc -E</FONT>
<BR><FONT SIZE=2>checking for ANSI C header files... yes</FONT>
<BR><FONT SIZE=2>checking for sys/wait.h that is POSIX.1 compatible... yes</FONT>
<BR><FONT SIZE=2>checking for errno.h... yes</FONT>
<BR><FONT SIZE=2>checking for fcntl.h... yes</FONT>
<BR><FONT SIZE=2>checking for limits.h... yes</FONT>
<BR><FONT SIZE=2>checking for sys/time.h... yes</FONT>
<BR><FONT SIZE=2>checking for syslog.h... yes</FONT>
<BR><FONT SIZE=2>checking for unistd.h... yes</FONT>
<BR><FONT SIZE=2>checking for ap_config.h... no</FONT>
<BR><FONT SIZE=2>checking for system include files... yes</FONT>
<BR><FONT SIZE=2>checking for working const... yes</FONT>
<BR><FONT SIZE=2>checking for pid_t... yes</FONT>
<BR><FONT SIZE=2>checking for size_t... yes</FONT>
<BR><FONT SIZE=2>checking whether struct tm is in sys/time.h or time.h... time.h</FONT>
<BR><FONT SIZE=2>checking for pcre.h... no</FONT>
<BR><FONT SIZE=2>checking for gmtoff in struct tm... no</FONT>
<BR><FONT SIZE=2>checking for BSD4.2 syslog... no</FONT>
<BR><FONT SIZE=2>checking for working fnmatch... yes</FONT>
<BR><FONT SIZE=2>checking return type of signal handlers... void</FONT>
<BR><FONT SIZE=2>checking for strftime... yes</FONT>
<BR><FONT SIZE=2>checking whether utime accepts a null argument... yes</FONT>
<BR><FONT SIZE=2>checking for getcwd... yes</FONT>
<BR><FONT SIZE=2>checking for gethostname... yes</FONT>
<BR><FONT SIZE=2>checking for mkdir... yes</FONT>
<BR><FONT SIZE=2>checking for mktime... yes</FONT>
<BR><FONT SIZE=2>checking for rmdir... yes</FONT>
<BR><FONT SIZE=2>checking for socket... no</FONT>
<BR><FONT SIZE=2>checking for strdup... yes</FONT>
<BR><FONT SIZE=2>checking for strerror... yes</FONT>
<BR><FONT SIZE=2>checking for strstr... yes</FONT>
<BR><FONT SIZE=2>checking for strtol... yes</FONT>
<BR><FONT SIZE=2>checking for strtoul... yes</FONT>
<BR><FONT SIZE=2>checking for mkstemp... yes</FONT>
<BR><FONT SIZE=2>checking for setgid... yes</FONT>
<BR><FONT SIZE=2>checking for setuid... yes</FONT>
<BR><FONT SIZE=2>checking for snprintf... no</FONT>
<BR><FONT SIZE=2>checking for gethostent... no</FONT>
<BR><FONT SIZE=2>checking for gethostent in -lnsl... yes</FONT>
<BR><FONT SIZE=2>checking for setsockopt... no</FONT>
<BR><FONT SIZE=2>checking for setsockopt in -lsocket... yes</FONT>
<BR><FONT SIZE=2>updating cache ./config.cache</FONT>
<BR><FONT SIZE=2>creating ./config.status</FONT>
<BR><FONT SIZE=2>creating Makefile</FONT>
<BR><FONT SIZE=2>creating pcre/Makefile</FONT>
<BR><FONT SIZE=2>creating config.h</FONT>
</P>

<P><FONT SIZE=2>and when i run make i get the folowing error message:</FONT>
</P>

<P><FONT SIZE=2>cc -I. -DHAVE_CONFIG_H&nbsp; -g&nbsp; -c&nbsp; nntputil.c</FONT>
<BR><FONT SIZE=2>&quot;./leafnode.h&quot;, line 40: syntax error before or at: size_t</FONT>
<BR><FONT SIZE=2>&quot;./leafnode.h&quot;, line 40: warning: undefined or missing type for: size_t</FONT>
<BR><FONT SIZE=2>&quot;./leafnode.h&quot;, line 40: warning: undefined or missing type for: const</FONT>
<BR><FONT SIZE=2>cc: acomp failed for nntputil.c</FONT>
<BR><FONT SIZE=2>*** Error code 2</FONT>
<BR><FONT SIZE=2>make: Fatal error: Command failed for target `nntputil.o'</FONT>
</P>

<P><FONT SIZE=2>anyone any clues to this problem</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01BFA51D.50E5BCF2--

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list