[nsd-users] Build Error on Solaris 10

Wouter Wijngaards wouter at nlnetlabs.nl
Mon Feb 8 14:45:49 UTC 2021


Hi Ihsan,

On 08/02/2021 14:17, İhsan Doğan via nsd-users wrote:
> Hello,
> 
> I’m the NSD package maintainer at the OpenCSW project and I’m trying to build NSD 4.3.5 on Solaris 10 with the Developer Studio 12.6 compiler and run in to this problem:

Thank you for the report.  The issue is fixed in commit
https://github.com/NLnetLabs/nsd/commit/58dddc3f99964d1d0b0bd6ee77b92b629dbad5fc

Where there is an added compatibility check for the compile error that
happens in the Solaris build.

Best regards, Wouter

> 
> /opt/developerstudio12.6/bin/cc -I/opt/csw/include -I/opt/csw/include -I. -I/opt/csw/include -xO3 -m32 -xarch=sparc -c remote.c
> "util.h", line 91: warning:  attribute "format" is unknown, ignored
> "util.h", line 436: warning:  attribute "format" is unknown, ignored
> "buffer.h", line 55: warning:  attribute "unused" is unknown, ignored
> "buffer.h", line 412: warning:  attribute "format" is unknown, ignored
> "options.h", line 454: warning:  attribute "format" is unknown, ignored
> "udb.h", line 253: warning: zero or negative subscript
> "udb.h", line 298: warning: zero or negative subscript
> "difffile.h", line 101: warning: zero or negative subscript
> "remote.c", line 195: warning:  attribute "format" is unknown, ignored
> "remote.c", line 2693: undefined symbol: AF_LOCAL
> cc: acomp failed for remote.c
> gmake: *** [Makefile:93: remote.o] Error 2
> 
> Not sure, but looks like I came across bug.
> 
> 
> 
> 
> Regards,
> 
> Ihsan
> 
> 
> _______________________________________________
> nsd-users mailing list
> nsd-users at lists.nlnetlabs.nl
> https://lists.nlnetlabs.nl/mailman/listinfo/nsd-users
> 


More information about the nsd-users mailing list