libsmbclient not building on HP-UX

Priya Pharate priya.pharate at
Wed Oct 23 09:50:05 GMT 2002

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
(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"
--------------------------- 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.
Priya Pharate
-------------- next part --------------
HTML attachment scrubbed and removed

More information about the samba-technical mailing list