23 Mar 2000 10:50
libsmbclient not building on HP-UX
Priya Pharate <priya.pharate <at> xcelvision.com>
2000-03-23 09:50:17 GMT
2000-03-23 09:50:17 GMT
Hi,
I am not able to
build libsmbclient on HP-UX.
|
I downloaded the tar but running configure
--with-libsmbclient shows this error:
ERROR: No seteuid method
available
Configure was trying to build the Makefile with
'cc' as the compiler.
After searching for answers on this mailing list archive and elsewhere on the net, it seems the the problem is due to the 'cc' compiler not being ANCI-C-compliant. So I changed this line in config.cache to take gcc: ac_cv_prog_CC=${ac_cv_prog_CC=gcc} (Is this correct?) Now, running configure aborts with the
message:
checking whether the C compiler (gcc -O )
works... no
configure: error: installation or configuration problem: C compiler cannot create executables. These are the messages in
config.log:
--------------------------- start ---------------------------- configure:808: checking for gcc configure:921: checking whether the C compiler (gcc -O ) works configure:937: gcc -o conftest -O conftest.c 1>&5 ld: Mismatched ABI (not an ELF file) for -lhplx Fatal error. collect2: ld returned 1 exit status configure: failed program was: #line 932 "configure"
#include "confdefs.h" main(){return(0);}
--------------------------- end
----------------------------
Is this a problem of incorrect linking?
Can it be solved by giving the right options to gcc? This is the
output of the uname -a command on the machine I am
using:
HP-UX cmc-env
B.11.11 U 9000/800 1199039658 unlimited-user license
Any help will be
appreciated.
Regards,
Priya Pharate | |
RSS Feed