swarm-support
[Top][All Lists]
Advanced

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

Re: Error in running make of Swarm 1.4.1


From: Andrew Boyd
Subject: Re: Error in running make of Swarm 1.4.1
Date: Thu, 08 Jul 1999 14:03:35 -0500

Hello,
    I am still having similar problems with compiling Swarm-1.4.1 on a HPUX-11 
operating system on a C 180 machine.  I am using gcc-2.8.1, binutils-2.9.1, 
bison-1.27, blt2.4g, ffcall-1.5, libpng-1.0.3, make-3.77, tcl8.0, tk8.0, 
xpm-3.4h, zlib-1.1.3.  

I have gone into the file argp-fmtstream.h and changed commented out lines 129 
through 135. 

I have also gone in and changed the argp-fmtstream.c line 361 code to read
  __argp_fmtstream_printf (argp_fmtstream_t *fs, const char *fmt, ...)

With  out both of these changes the same error previously mentioned came up

With both of these changes I get rid of the one error i was encountering 
previously.  However the new error is:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -g -O2 -c -fPIC -DPIC 
argp-fmtstream.c
argp-fmtstream.c: In function `argp_fmtstream_printf':
argp-fmtstream.c:371: warning: passing arg 1 of `_argp_fmtstream_ensure' from 
incompatible pointer type
argp-fmtstream.c:379: request for member `p' in something not a structure or 
union
argp-fmtstream.c:385: request for member `p' in something not a structure or 
union
make[3]: *** [argp-fmtstream.lo] Error 1
make[3]: Leaving directory `/home/swarm/swarm-1.4.1/src/misc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/swarm/swarm-1.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/swarm/swarm-1.4.1'
make: *** [all-recursive-am] Error 2




On another make,
I have also tried changing the delaration from line 40 of the argp-fmtstream.h 
to position the deleration outside of the if clause,  which did not work, and I 
got another error message.
Any and all help would be appriciated

Andy Boyd
UT Southwestern Medical Center 

<<< Marcus G. Daniels <address@hidden>  7/ 7  2:08p >>>
>>>>> "AB" == Andrew Boyd <address@hidden> writes:

AB> argp-fmtstream.c:363: conflicting types for `argp_fmtstream_printf'
AB> argp-fmtstream.h:132: previous declaration of `argp_fmtstream_printf'

Well, you can see for yourself the literal differences between the
declaration and the definition, but there isn't anything here that
ought to conflict.

On line 362 of src/misc/argp-fmtstream.c, you might try changing
"struct argp_fmtstream" to "argp_fmtstream_t" .  If that doesn't work,
then the only other thing I see is the
"__attribute__ ((__format__ (printf, 2, 3)))".  
If the former doesn't work, try commenting this out.

Btw, what version of GCC are you using?

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

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