I have been banging my head trying to get CDE working on Fedora 29 and I see that some things aren't getting built.
Something that I see in the build is the following:
gcc -g -pipe -O2 -fno-strict-aliasing -Wno-write-strings -Wno-unused-result '-DPROFILEPATH="/etc/dt/config/profile"' '-DSUIDPROFILEPATH="/etc/dt/config/suid_profile"' '-DSUIDEXECPATH="/usr/dt/bin/suid_exec"' '-DCDE_INSTALLATION_TOP="/usr/dt"' -Dlinux -Dx86_64 -D_POSIX_SOURCE -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DNO_STRING_INLINES -DNO_MATH_INLINES -DANSICPP -DMULTIBYTE -DNLS16 '-DOSMAJORVERSION=4' '-DOSMINORVERSION=20' -I. -Iinclude -c string/fmtdev.c string/fmtdev.c: In function ‘fmtdev’: string/fmtdev.c:99:38: error: expected expression before ‘;’ token unsigned int ma = major(idevice(st)); ^ string/fmtdev.c: 100 :38: error: expected expression before ‘;’ token unsigned int mi = minor(idevice(st)); ^
Does this mean anything to anyone?
Is anyone else experiencing trouble with building on Fedora29? Has anyone got it to build completely on Fedora 29?
Any help is appreciated.
-- Michael
string/fmtdev.c: In function ‘fmtdev’: string/fmtdev.c:99:38: error: expected expression before ‘;’ token unsigned int ma = major(idevice(st));
Adding
#include <sys/sysmacros.h>
to programs/dtksh/ksh93/src/lib/libast/string/fmtdev.c fixed it for me (openSUSE Tumbleweed).
programs/dtksh/ksh93/src/lib/libast/string/fmtdev.c
Theo,
YOU ARE THE BOMB! Thank you so much for helping me with this!
The suggested changes are included in the merge request https://sourceforge.net/p/cdesktopenv/code/merge-requests/10/
Log in to post a comment.
I have been banging my head trying to get CDE working on Fedora 29 and I see that some things aren't getting built.
Something that I see in the build is the following:
gcc -g -pipe -O2 -fno-strict-aliasing -Wno-write-strings -Wno-unused-result '-DPROFILEPATH="/etc/dt/config/profile"' '-DSUIDPROFILEPATH="/etc/dt/config/suid_profile"' '-DSUIDEXECPATH="/usr/dt/bin/suid_exec"' '-DCDE_INSTALLATION_TOP="/usr/dt"' -Dlinux -Dx86_64 -D_POSIX_SOURCE -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DNO_STRING_INLINES -DNO_MATH_INLINES -DANSICPP -DMULTIBYTE -DNLS16 '-DOSMAJORVERSION=4' '-DOSMINORVERSION=20' -I. -Iinclude -c string/fmtdev.c
string/fmtdev.c: In function ‘fmtdev’:
string/fmtdev.c:99:38: error: expected expression before ‘;’ token
unsigned int ma = major(idevice(st));
^
string/fmtdev.c: 100 :38: error: expected expression before ‘;’ token
unsigned int mi = minor(idevice(st));
^
Does this mean anything to anyone?
Is anyone else experiencing trouble with building on Fedora29? Has anyone got it to build completely on Fedora 29?
Any help is appreciated.
-- Michael
Last edit: Michael G. 2019-01-29
Adding
to
programs/dtksh/ksh93/src/lib/libast/string/fmtdev.c
fixed it for me (openSUSE Tumbleweed).Theo,
YOU ARE THE BOMB! Thank you so much for helping me with this!
-- Michael
The suggested changes are included in the merge request https://sourceforge.net/p/cdesktopenv/code/merge-requests/10/