Problems compiling krb5-1.4.1 on Solaris 8

Rob Main Rob_Main at ncsu.edu
Tue May 3 09:07:11 EDT 2005


   I am having a problem compiling krb5-1.4.1 on Solaris 8 (SPARC).  I
   ran configure with the --prefix=/dir/to/install flag successfully.
   "Make" fails and the following output appears:
   #############################################
   bison -y  getdate.y
   conflicts:  4 shift/reduce
   /usr/ccs/bin/m4: bad option: -I
   mv y.tab.c getdate.c
   mv: cannot access y.tab.c
   *** Error code 2
   make: Fatal error: Command failed for target `getdate.c'
   Current working directory /dir/to/make/krb5-1.4.1/src/kadmin/cli
   *** Error code 1
   make: Fatal error: Command failed for target `all-recurse'
   Current working directory /dir/to/make/krb5-1.4.1/src/kadmin
   *** Error code 1
   make: Fatal error: Command failed for target `all-recurse'
   #############################################
   I am using Bison 1.875d.  I saw through iGrep someone's recommendation
   to "touch" getdate.c (in /dir/to/make/krb5-1.4.1/src/kadmin/cli), but
   the "make" still fails but with different errors:
   #############################################
   gcc -L../../lib -R/dir/to/install/kerberos5/lib -g -O2 -Wall
   -Wmissing-prototypes -Wcast-qual  -Wcast-align -Wconversion -Wshadow
   -pedantic  -o kadmin.local kadmin.o kadmin_ct.o ss_wrapper.o getdate.o
   keytab.o ../../lib/libss.a -lkadm5srv  -lkdb5  -lgssrpc -lgssapi_krb5
   -lkrb5 -lk5crypto -lcom_err -lkrb5support  -lresolv -lsocket -lnsl
   Undefined                       first referenced
    symbol                             in file
   get_date                            kadmin.o 
   ld: fatal: Symbol referencing errors. No output written to
   kadmin.local
   collect2: ld returned 1 exit status
   *** Error code 1
   make: Fatal error: Command failed for target `kadmin.local'
   Current working directory /dir/to/make/krb5-1.4.1/src/kadmin/cli
   *** Error code 1
   make: Fatal error: Command failed for target `all-recurse'
   Current working directory /dir/to/make/krb5-1.4.1/src/kadmin
   *** Error code 1
   make: Fatal error: Command failed for target `all-recurse'
   #############################################
   Is this a Bison issue?  Any hints?  Thanks in advance.


More information about the Kerberos mailing list