Problems compiling krb5-1.4.1 on Solaris 8

Ming Hou ming at ddtechcg.com
Wed May 4 11:40:59 EDT 2005


Rob,

bison version must be 1.30 or early.

ming

On Tue, 3 May 2005, Rob Main wrote:

>
>   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.
> ________________________________________________
> Kerberos mailing list           Kerberos at mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos
>


More information about the Kerberos mailing list