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

Tru64 Unix 4.0f and Heimdal v0.6 compile trouble.



Hi, 

Digitals cc barfs on me: 

/bin/ksh ../../libtool --mode=link /usr/bin/cc   -arch ev6    -o libcom_err.la -rpath /usr/heimdal/lib -version-info 2:1:1 error.lo com_err.lo
mkdir .libs
rm -fr .libs/libcom_err.la .libs/libcom_err.* .libs/libcom_err.*
ar cru .libs/libcom_err.a  error.o com_err.o
ranlib .libs/libcom_err.a
creating libcom_err.la
(cd .libs && rm -f libcom_err.la && ln -s ../libcom_err.la libcom_err.la)
yacc -d  `test -f 'parse.y' || echo './'`parse.y
sed '/^#/ s|y\.tab\.c|parse.c|' y.tab.c >parse.c
rm -f y.tab.c
if test -f y.tab.h; then  to=`echo "parse_H" | sed  -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'  -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`;  sed "/^#/ s/Y_TAB_H/$to/g" y.tab.h >parse.ht;  rm -f y.tab.h;  if cmp -s parse.ht parse.h; then  rm -f parse.ht ; else  mv parse.ht parse.h;  fi;  fi
if test -f y.output; then  mv y.output parse.output;  fi
/usr/bin/cc  -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../lib/roken -I../../lib/roken     -arch ev6 -c `test -f 'compile_et.c' || echo './'`compile_et.c
cc: Info: ../../include/roken.h, line 88: In this statement, the declaration for intrinsic function "snprintf" referenced at line number 134 in file compile_et.c, parameter number 2 is of type "unsigned long", which is not consistent with the expected type "long".  It will be treated as an ordinary external function. (intrinsicdecl)
int snprintf (char *str, size_t sz, const char *format, ...)
--------------------------------^
/usr/bin/cc  -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../lib/roken -I../../lib/roken     -arch ev6 -c `test -f 'parse.c' || echo './'`parse.c
flex   `test -f lex.l || echo './'`lex.l
sed '/^#/ s|lex.yy\.c|lex.c|' lex.yy.c >lex.c
rm -f lex.yy.c
/usr/bin/cc  -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../lib/roken -I../../lib/roken     -arch ev6 -c `test -f 'lex.c' || echo './'`lex.c
cc: Error: lex.l, line 75: In this statement, "ECHO" is not declared. (undeclared)
ECHO;
^
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.

Variables: 

CC=/usr/bin/cc
CFLAGS='-arch ev6' 

./configure was called with these flags:

	--with-openssl=/usr/local/ssl 
	--enable-osfc2 
	--disable-dependency-tracking 
	--with-x 
	--without-krb4

Should I just give up and try with gcc? 

--  
Måns Nilsson         Systems Specialist
+46 70 681 7204         KTHNOC
                        MN1334-RIPE

WHO sees a BEACH BUNNY sobbing on a SHAG RUG?!

PGP signature