tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Help your newest colleague - you can!
@ 1996-08-25 15:02 Dimitris Vayenas
  0 siblings, 0 replies; only message in thread
From: Dimitris Vayenas @ 1996-08-25 15:02 UTC (permalink / raw)
  To: tru64-unix-managers

I just started with a new AlphaServer Internet version and the first thing
I tried to do was to set up the faboulus program by M. Moquit.

Well here is a list of difficulties I came accros and I wonder if somebody
else has shared (and solved ) these in the past.

1.  In the makefile I had to set the option Olimit to ahigh value since the
default of my comp was 500

2. while compiling the main.c  the parameter _O_RDWR was not recognised
whereis in the line just above there was no problem with the same parameter
! (what is it anyway?). But since it was placed on a subroutine relevant to
Win32 installation I made this "if.. then" a comment

3. So the main.c compiled ok 

4. Went to compile parse.c and here the problem concerns the library 
string.h and the more specific concern has to do with the functions 
"strncpy" and "strcpy".
The parse.c  program  uses these two function in the format
(strcpy (x.x) and strncpy (x,x,x) and my Compiler (in a DEC AlphaServer)
gives me the error that are redeclared and "Incompatible function return
type for this function".

I go to the string.h to find out that in the section where the error occurs
these functions are declared as fn(x), but down bellosw there are modes
where can be declared as fn(x,x) and fn(x,x,x).

The question is how can I change mode? one is _NO_PROTO and the other
_STDC_.

When I use, lets say

cc -D_NO_PROTO nothing happens

Please help

Best Regards

Dimitrius
__________________________________________
$
$	Dimitris Vayenas
$	http://users.hol.gr/~divagenas
$___________________________________________                               
                                                               

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-08-25 15:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-25 15:02 Help your newest colleague - you can! Dimitris Vayenas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox