From: Gregory H. <gh...@ca...> - 2005-02-04 21:08:20
|
> Date: Thu, 3 Feb 2005 22:49:49 -0700 (MST) > From: Neal Richter <ne...@ri...> > > On Thu, 3 Feb 2005, Gregory Hicks wrote: > > > [...snip...] > > > > However, Now I get back an error on "unsigned long long int": > > > > checking size of unsigned long long int... configure: error: cannot > > compute sizeof (unsigned long long int), 77 > > See `config.log' for more details. > > metis% > > > > [...config.log extract...] > > configure:23057: checking for unsigned long long int > > configure:23081: gcc -c -g -O2 -Wall conftest.c >&5 > > configure:23087: $? = 0 > > configure:23090: test -z || test ! -s conftest.err > > configure:23093: $? = 0 > > configure:23096: test -s conftest.o > > configure:23099: $? = 0 > > configure:23110: result: yes > > configure:23113: checking size of unsigned long long int > > configure:23425: gcc -o conftest -g -O2 -Wall conftest.c -lz -lnsl -lsocket >&5 > > configure:23428: $? = 0 > > configure:23430: ./conftest > > ld.so.1: ./conftest: fatal: relocation error: file ./conftest: symbol > > __register_frame_info: referenced symbol not found > > ./configure: line 1: 11852 Killed ./conftest$ac_exeext > > configure:23433: $? = 137 > > configure: program exited with status 137 > > configure: failed program was: > > > > Any other thoughts? Thanks for the assist and pointer though! > > I'll check ASAP, however I don't think we use any 'unsigned long long > int'. You can probably hack the configure script and remove a 'long' > in the code that produces conftest.c and it will work fine. Or comment > out that check. Neal: Well, I did that and then got a failure on "unsigned long int". So I went back to the original script. Llooking back through the htdig archives, I saw a note from Kenneth saying that the issue might be in libz.so... Checking, I found that I had two versions: One in /usr/lib provided by Sun in packages SUNWzlib and SUNWzlibx. I also had one in /usr/local/lib... I put /usr/local/lib before /usr/lib in LD_LIBRARY_PATH and the configure completed. The one in /usr/local/lib is the one from GNU and was either downloaded from http://sunfreeware.com or was compiled on my machine. (The Sun and GNU are both the same version - V1.1.3...) I'm now doing a compile to see if it completes. If so, then I'll did further to see where binaries, scripts, et al need to be placed and reconfigure. Thanks for your assistance. (I send this note so that others might see and benefit.) Regards, Gregory Hicks ------------------------------------------------------------------- Gregory Hicks | Principal Systems Engineer Cadence Design Systems | Direct: 408.576.3609 555 River Oaks Pkwy M/S 6B1 | Fax: 408.894.3400 San Jose, CA 95134 I am perfectly capable of learning from my mistakes. I will surely learn a great deal today. "A democracy is a sheep and two wolves deciding on what to have for lunch. Freedom is a well armed sheep contesting the results of the decision." - Benjamin Franklin "The best we can hope for concerning the people at large is that they be properly armed." --Alexander Hamilton |