GNUtls3 build issues

Riccardo Mottola rmottola at opencsw.org
Wed May 31 14:22:22 CEST 2017


Hi,

I am trying to rebuild the current recipe of GNUtls3 as a start to bring 
things up-to-date.
I need it on Solaris 9 too. After the "respin" we can decide a path to 
upgrade to a different soname version (as I understand it we have 2.8, 
current would be 3.4, correct me if I am wrong)

I just changed the compiler from "GCC4" to "GNU" since it would not work 
else on solaris 10.

On Solaris 10 I get this error:
copying selected object files to avoid basename conflicts...
   CC       psk.o
   CCLD     psktool
ld: fatal: file /opt/csw/lib/libopts.so: wrong ELF class: ELFCLASS32
ld: fatal: file processing errors. No output written to .libs/psktool
collect2: error: ld returned 1 exit status
gmake[4]: *** [Makefile:1831: psktool] Error 1

which totally puzzles me!

On solaris 9, I get:
   CCLD     psktool
Undefined                       first referenced
  symbol                             in file
inet_aton                           ../lib/.libs/libgnutls.so
ld: fatal: Symbol referencing errors. No output written to .libs/psktool
collect2: ld returned 1 exit status

Interesting that it is the same file. Do we have a workaround there? 
Perhaps it is actually the same issue as above just with a different error?

Riccardo


More information about the maintainers mailing list