[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Current Heimdal CVS doesn't compile



I've been working to update Samba4 to current Heimdal CVS, but I can't
make it compile.  Using:  

CFLAGS="-g -O -Wall -Wstrict-prototypes -Wpointer-arith -Wcast-align
-Wwrite-strings -Wdeclaration-after-statement" CC="ccache
gcc" ./configure  --with-ldap=/usr --disable-shared --without-openssl

I get:

./.libs/libhcrypto.a(engine.o)(.text+0x292): In function `hc_ENGINE_by_dso':
/data/heimdal-build/lib/des/engine.c:225: undefined reference to `dlopen'
./.libs/libhcrypto.a(engine.o)(.text+0x2a0):/data/heimdal-build/lib/des/engine.c:227: undefined reference to `dlerror'
./.libs/libhcrypto.a(engine.o)(.text+0x2d1):/data/heimdal-build/lib/des/engine.c:236: undefined reference to `dlsym'
./.libs/libhcrypto.a(engine.o)(.text+0x2e1):/data/heimdal-build/lib/des/engine.c:238: undefined reference to `dlclose'
./.libs/libhcrypto.a(engine.o)(.text+0x310):/data/heimdal-build/lib/des/engine.c:245: undefined reference to `dlclose'
./.libs/libhcrypto.a(engine.o)(.text+0x333):/data/heimdal-build/lib/des/engine.c:254: undefined reference to `dlsym'
./.libs/libhcrypto.a(engine.o)(.text+0x343):/data/heimdal-build/lib/des/engine.c:256: undefined reference to `dlclose'
./.libs/libhcrypto.a(engine.o)(.text+0x371):/data/heimdal-build/lib/des/engine.c:263: undefined reference to `dlclose'
./.libs/libhcrypto.a(engine.o)(.text+0x3a5):/data/heimdal-build/lib/des/engine.c:273: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[2]: *** [test_engine_dso] Error 1
make[2]: Leaving directory `/data/heimdal-build/lib/des'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/heimdal-build/lib'
make: *** [all-recursive] Error 1

I know it's just a simple matter of adding -ldl to the right place, but where?

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net

This is a digitally signed message part