bug-cfengine
[Top][All Lists]
Advanced

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

installing on alphaev6


From: McDermott, James
Subject: installing on alphaev6
Date: Tue, 17 Apr 2001 17:23:52 +0200

hi,
i've had two problems installing cfengine. first the configure script
refused to recognise the chip type alphaev6, by dec. this was solved in the
following (naive?) way:

slart:cfengine-1.6.2> cd ../cfengine-1.6.3
slart:cfengine-1.6.3> diff config.sub config.sub~
155c155
<               | alpha | alphaev5 | alphaev6 | alphaev56 | we32k | ns16k |
clipper \
---
>               | alpha | alphaev5 | alphaev56 | we32k | ns16k | clipper \
179c179
<             | alpha-* | alphaev5-* | alphaev6-* | alphaev56-* | we32k-* |
cydra-* \
---
>             | alpha-* | alphaev5-* | alphaev56-* | we32k-* | cydra-* \

ie i simply added the chip name to the obvious places in the config.sub
script.

second, running make causes complaints about type mismatches between
declarations of functions such as memcpy() and strcpy(): 

gmake[1]: Entering directory
`/usr/users/tc/jamesd/work/cfengine/cfengine-1.6.3/pub'
gcc -DHAVE_CONFIG_H -I. -I. -I../src   -I/usr/local/BerkeleyDB/include
-I/usr/local/include -I/usr/local/gnu/include  -g -O2 -c full-write.c
In file included from ../src/cf.defs.h:39,
                 from full-write.c:23:
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.1/include/string.h:92: warning:
conflicting types for built-in function `memcpy'
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.1/include/string.h:101:
warning: conflicting types for built-in function `strcpy'

i know that this type of error is mentioned in the faq. the suggestion there
is to edit the lex.yy.c file to remove the offending definitions, but this
file does not seem to be created! -meaning that a trivial lex.yy.c is
created and removed during configuration to test lex, but not thereafter.

any ideas? thanks,
yours, james++



reply via email to

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