Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Feb 2015 12:07:55 +0100
From:      Willy Offermans <Willy@Offermans.Rompen.nl>
To:        freebsd-ports@freebsd.org
Subject:   net/isc-dhcp42-server and ldap support
Message-ID:  <20150201110755.GA29354@vpn.offrom.nl>

next in thread | raw e-mail | index | archive | help
Dear FreeBSD friends,

I like to install net/isc-dhcp42-server with LDAP and LDAP_SSL support.
However upon compilation, I received the following error message:

gmake[3]: Entering directory
'/usr/ports/net/isc-dhcp42-server/work/dhcp-4.2.7/omapip'
cc  -O2 -pipe  -fPIC -fstack-protector -DLDAP_DEPRECATED
-fno-strict-aliasing  -I../bind/include  -Wl,-rpath,/usr/lib:/usr/local/lib
-Wl,-rpath,/usr/lib:/usr/local/lib -Wl,-rpath,/usr/lib:/usr/local/lib
-Wl,-rpath,/usr/lib:/usr/local/lib -fstack-protector -o svtest test.o
libomapi.a ../bind/lib/libdns.a ../bind/lib/libisc.a -llber -lldap
-L/usr/local/lib -lssl
libomapi.a(buffer.o): In function `omapi_connection_copyin':
buffer.c:(.text+0x76b): undefined reference to `isc__socket_fdwatchpoke'
libomapi.a(dispatch.o): In function `omapi_register_io_object':
dispatch.c:(.text+0x3aa): undefined reference to
`isc__socket_fdwatchcreate'
libomapi.a(dispatch.o): In function `omapi_reregister_io_object':
dispatch.c:(.text+0x50d): undefined reference to `isc__socket_fdwatchpoke'
libomapi.a(dispatch.o): In function `omapi_unregister_io_object':
dispatch.c:(.text+0x677): undefined reference to `isc__socket_cancel'
dispatch.c:(.text+0x67f): undefined reference to `isc__socket_detach'
libomapi.a(isclib.o): In function `isclib_cleanup':
isclib.c:(.text+0x27): undefined reference to `isc__task_shutdown'
isclib.c:(.text+0x30): undefined reference to `isc__task_detach'
isclib.c:(.text+0x40): undefined reference to `isc__timermgr_destroy'
isclib.c:(.text+0x50): undefined reference to `isc__socketmgr_destroy'
isclib.c:(.text+0x60): undefined reference to `isc__taskmgr_destroy'
isclib.c:(.text+0x6f): undefined reference to `isc__app_ctxfinish'
isclib.c:(.text+0x86): undefined reference to `isc__appctx_destroy'
isclib.c:(.text+0x9e): undefined reference to `isc__mem_detach'
libomapi.a(isclib.o): In function `dhcp_context_create':
isclib.c:(.text+0x10b): undefined reference to `isc__mem_create'
isclib.c:(.text+0x12c): undefined reference to `isc__appctx_create'
isclib.c:(.text+0x13d): undefined reference to `isc__app_ctxstart'
isclib.c:(.text+0x1a6): undefined reference to `isc__task_create'
libomapi.a(isclib.o): In function `dhcp_signal_handler':
isclib.c:(.text+0x446): undefined reference to `isc__app_ctxsuspend'
cc: error: linker command failed with exit code 1 (use -v to see
invocation)
gmake[3]: *** [svtest] Error 1
Makefile:390: recipe for target 'svtest' failed
gmake[3]: Leaving directory
'/usr/ports/net/isc-dhcp42-server/work/dhcp-4.2.7/omapip'
gmake[2]: *** [all-recursive] Error 1
Makefile:412: recipe for target 'all-recursive' failed
gmake[2]: Leaving directory
'/usr/ports/net/isc-dhcp42-server/work/dhcp-4.2.7'
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net/isc-dhcp42-server
*** Error code 1

Stop.
make: stopped in /usr/ports/net/isc-dhcp42-server

How can I compile isc-dhcp42-server with LDAP and LDAP_SSL support?


-- 
Met vriendelijke groeten,
With kind regards,
Mit freundlichen Gruessen,
De jrus wah,

Wiel

*************************************
 W.K. Offermans

                                       Powered by ....

                                            (__)
                                         \\\'',)
                                           \/  \ ^
                                           .\._/_)

                                       www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150201110755.GA29354>