Compiling 1.5.3 or 1.6.1 on Solaris 5.9

2007-07-05 Thread Booker C. Bense
I've been pulling my hair out over this for a couple hours and I can't see forest for trees at this point. Both version fail to compile libkrb5support.so.0.1 with this error + gcc -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align - Wconversion -Wshadow -pedantic -shared -h

Re: Compiling 1.5.3 or 1.6.1 on Solaris 5.9

2007-07-05 Thread Tim Mooney
In regard to: Compiling 1.5.3 or 1.6.1 on Solaris 5.9, Booker C. Bense said...: I've been pulling my hair out over this for a couple hours and I can't see forest for trees at this point. Both version fail to compile libkrb5support.so.0.1 with this error + gcc -g -O2 -Wall -Wmissing

Re: Compiling 1.5.3 or 1.6.1 on Solaris 5.9

2007-07-05 Thread Tom Yu
bbense == Booker C Bense [EMAIL PROTECTED] writes: bbense + gcc -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align - bbense Wconversion -Wshadow -pedantic bbense -shared -h libkrb5support.so.0 -o libkrb5support.so.0.1 threads.so bbense init-addrinfo.so plugins.so bbense errors.so

Re: Compiling 1.5.3 or 1.6.1 on Solaris 5.9

2007-07-05 Thread Booker C. Bense
On Jul 5, 2007, at 3:57 PM, Tom Yu wrote: What were the exact arguments you gave to the configure script, and what were the settings (if any; ideally they are unset!) of the environment variables CC and LD during both configure time and make time? Well, the last run I did was env CC=gcc

Re: Compiling 1.5.3 or 1.6.1 on Solaris 5.9

2007-07-05 Thread Booker C. Bense
On Jul 5, 2007, at 3:57 PM, Tom Yu wrote: The configure script should detect GCC and change the shared library build command accordingly, and in my experience it works. The -shared -h libkrb5support.so.0 looks like the configure script thought it was compiling with Sun's C compiler. I

Re: Compiling 1.5.3 or 1.6.1 on Solaris 5.9

2007-07-05 Thread Tom Yu
bbense == Booker C Bense [EMAIL PROTECTED] writes: bbense I did a clean slate and configured 1.6.1 with bbense ./configure --prefix=/afs/slac.stanford.edu/package/krb5/1.6.1/sun4x_59 bbense and got the same error. I then poked around in config/shlib.conf and bbense as near as I can tell it