James Deagle - 2017-09-26

Hi all,

I've been trying build CDE on OpenBSD 6.1, and have been following the directions precisely (for OpenBSD 6.0+), but it stops after almost seven minutes with the following errors:

g++ -c -O2 -fno-strict-aliasing -Wall -Wpointer-arith -Wno-unused -Wno-write-strings -Wno-switch  -I. -I../../include -I../../include/utils -I../../../../lib -I/usr/X11R6/include -I/usr/local/include -I../../../.. -I../../../../exports/include -I/usr/local/include -I../../../../imports/x11/include  -DCSRG_BASED -DANSICPP -DMULTIBYTE -DNLS16  -DOSMAJORVERSION=6 -DOSMINORVERSION=1   -DHAS_VFORK -DDL_NOT_DYNAMIC -DUSE_SOCKSTREAM  Session.C
Session.C: In destructor 'DtMail::Session::~Session()':
Session.C:238: warning: comparison between signed and unsigned integer expressions
Session.C: In member function 'int DtMail::Session::csConvert(char**, long unsigned int&, int, char*, char*)':
Session.C:1661: error: invalid conversion from 'const char**' to 'char**'
Session.C:1661: error:   initializing argument 2 of 'size_t libiconv(void*, char**, size_t*, char**, size_t*)'
Session.C:1678: warning: comparison between signed and unsigned integer expressions
*** Error 1 in programs/dtmail/libDtMail/Common (Makefile:753 'Session.o')
*** Error 1 in programs/dtmail/libDtMail (Makefile:713 'all')
*** Error 1 in programs/dtmail (Makefile:711 'all')
*** Error 1 in programs (Makefile:721 'all')
*** Error 1 in . (xmakefile:713 'all')
*** Error 1 in /home/jed/cdesktopenv-code/cde (Makefile:66 'World')
    6m51.64s real     4m02.73s user     2m35.77s system

Please let me know if there are any remedies or workarounds based on the above, or if you need to see the entire build script to know.

Thanks in advance for any assistance you can provide.

Cheers,
James

 

Last edit: James Deagle 2017-09-26