Forum

Hiawatha 9.4 on SmartOS

Gary
11 April 2014, 23:55
cmake runs but when trying to do make it fails with:
[root@zone3 /home/wp/hiawatha-9.4/build]# cmake ..
-- Configuring done
-- Generating done
-- Build files have been written to: /home/wp/hiawatha-9.4/build
[root@zone3 /home/wp/hiawatha-9.4/build]# gmake
[ 4%] Built target cgi-wrapper
[ 63%] Built target polarssl
Linking C executable hiawatha
Undefined first referenced
symbol in file
bind CMakeFiles/hiawatha.dir/src/hiawatha.c.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
recv CMakeFiles/hiawatha.dir/src/cgi.c.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
send CMakeFiles/hiawatha.dir/src/rproxy.c.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
accept CMakeFiles/hiawatha.dir/src/hiawatha.c.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
listen CMakeFiles/hiawatha.dir/src/hiawatha.c.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
socket CMakeFiles/hiawatha.dir/src/cgi.c.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
setsockopt CMakeFiles/hiawatha.dir/src/hiawatha.c.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
connect CMakeFiles/hiawatha.dir/src/cgi.c.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
getaddrinfo CMakeFiles/hiawatha.dir/src/ip.c.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
inet_pton CMakeFiles/hiawatha.dir/src/ip.c.o (symbol belongs to implicit dependency /lib/amd64/libnsl.so.1)
inet_ntop CMakeFiles/hiawatha.dir/src/hiawatha.c.o (symbol belongs to implicit dependency /lib/amd64/libnsl.so.1)
ld: fatal: symbol referencing errors. No output written to hiawatha
collect2: error: ld returned 1 exit status
gmake[2]: *** [hiawatha] Error 1
gmake[1]: *** [CMakeFiles/hiawatha.dir/all] Error 2
gmake: *** [all] Error 2
[root@zone3 /home/wp/hiawatha-9.4/build]#

Any ideas what I can do to make a successful build? Thanks.

Hiawatha version: 9.4
Operating System: SmartOS (Solaris11)
Hugo Leisink
12 April 2014, 13:44
I looks like some library is required for during the linking step. I have no experience with Solaris, so I don't know which one.
This topic has been closed.