pkgsrc-Users archive

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

compile problems on Solaris



At the moment, fonts/fontconfig and net/nmap don't compile on Solaris
10. Especially the first package is a major problem due to the many
depending packages.

I have a hard time reporting the problems upstream, because when I
compile the packages outside of pkgsrc, compilation breaks earlier, at
places that have been fixed with pkgsrc patches. I think in both cases
I haven't seen upstream bug reports for these issues.

What's the best way to proceed?

If anyone is interested:

nmap:

g++ -L/usr/pkgsrc/20130903/lib -L/usr/lib -Wl,-R/usr/lib
-L/usr/pkgsrc/20130903/lib -Wl,-R/usr/pkgsrc/20130903/lib -lnsl
-lsocket -L/usr/pkgsrc/20130903/lib   -o nping ArgParser.o common.o
common_modified.o nping.o NpingOps.o utils.o utils_net.o output.o
stats.o NpingTargets.o NpingTarget.o EchoHeader.o EchoServer.o
EchoClient.o ProbeMode.o NEPContext.o Crypto.o PacketDiff.o
../nbase/libnbase.a ../nsock/src/libnsock.a ../libnetutil/libnetutil.a
-lssl -lcrypto -lpcap ../libdnet-stripped/src/.libs/libdnet.a
Undefined                       first referenced
 symbol                             in file
vasprintf                           ../nsock/src/libnsock.a(nsock_log.o)
asprintf                            ../nsock/src/libnsock.a(proxy_http.o)
ld: fatal: Symbol referencing errors. No output written to nping

There is even an implementation in
nmap-6.40/libpcap/missing/snprintf.c, but it's not used in this case.

fontconfig:

Undefined                       first referenced
 symbol                             in file
mkdtemp                             test-migration.o
ld: fatal: Symbol referencing errors. No output written to .libs/test-migration

NetBSD's man-page on mkdtemp warns that this is a non-portable
function and should be avoided.

-- 
Joern Clausen
http://thebloeg.blogspot.com/
http://www.oe-files.de/photography/


Home | Main Index | Thread Index | Old Index