🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Peter Guenther Wed, 11 Mar 1998 00:00
NNTPCACHE and AIX 4
#26765
Author: Peter Guenther
Date: Wed, 11 Mar 1998 00:00
47 lines
1563 bytes
Hi,
I tried to build NNTPCACHE V.2.3.3.1 on my AIX V.4.1.5 machine.
I get gnu-C V.2.7.2.201 to compile it.

Does anybody else do so ?
Maybe you can help. 


The script 'configure' runs fine and gives me
the hope doing an easy job this time.

Running make let me hit the ground and brings me
back into real life :-(

Does anybody done this job before me ?



MAKE stops after programm acc.c in subdirectory ./src
with this last message==>

acc.c: In function 'rfc931':
acc.c:54 warning: implicit declaration of function 'syslog'
acc.c: In function 'filterReadConfigs':
acc.c:204: warning: implicit declaration of function 'strcasecmp'
make: 1254-004 The error code from the last command is 1.


Stop.


That's it,
don't know what it's trying to tell me.
Is something missing ?




Thank you, Peter


---- 
Peter Guenther			mailto:peter@duesseldorf.de


Re: NNTPCACHE and AIX 4
#26752
Author: Conrad Sabatier
Date: Wed, 11 Mar 1998 00:00
69 lines
2734 bytes
In article <3506BAF9.41C6@duesseldorf.de>,
Peter Guenther <peter@duesseldorf.de> wrote:
>Hi,
>I tried to build NNTPCACHE V.2.3.3.1 on my AIX V.4.1.5 machine.
>I get gnu-C V.2.7.2.201 to compile it.
>
>Does anybody else do so ?
>Maybe you can help. 
>
>
>The script 'configure' runs fine and gives me
>the hope doing an easy job this time.
>
>Running make let me hit the ground and brings me
>back into real life :-(
>
>Does anybody done this job before me ?
>
>
>
>MAKE stops after programm acc.c in subdirectory ./src
>with this last message==>
>
>acc.c: In function 'rfc931':
>acc.c:54 warning: implicit declaration of function 'syslog'
>acc.c: In function 'filterReadConfigs':
>acc.c:204: warning: implicit declaration of function 'strcasecmp'
>make: 1254-004 The error code from the last command is 1.
>
>
>Stop.
>
>
>That's it,
>don't know what it's trying to tell me.
>Is something missing ?

The compiler is complaining that the functions "strcasecmp" and "syslog"
have been encountered somewhere in the source code, but that they haven't
been previously declared.

You can easily fix this by #include-ing the necessary header files.
On BSD systems, for example, you would need:

#include <string.h>	(for strcasecmp)

and

#include <syslog.h>
#include <varargs.h>	(for syslog)

Then again, it could simply be that the include path is not being set
properly, in which case "-I/path/to/headers/directory" should fix the
problem.

Hope this helps.

By the way, for future reference, when you encounter these types of
missing function declarations, try "man function-name".  The man page for
the function should tell you what header files need to be included
(provided, of course, that it's a "standard" function on your system).
-- 
Conrad Sabatier                  |  FreeBSD -- UNIX for your PC
                                 |  Why settle for less than the best?
http://www.neosoft.com/~conrads  |  http://www.freebsd.org


Re: NNTPCACHE and AIX 4
#26806
Author: Christopher D Dukes
Date: Thu, 12 Mar 1998 00:00
13 lines
1185 bytes
AIX tends to like a 
#include <strings.h> thrown in half the time.
HTH.
-- 
The following must be destroyed.  Microsoft, Lyons Partnership.
Balkanize USENET!  Vote from the rooftops!! The best thing in RTP is now SMOG!
Sending unsolicited commercial massmail to this account may result
in a network outage for your site.  Have a nice day.
"Securing a Windows NT system -- Wire Cutters or Thermite?"


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads