Menu

Fedora 29

Michael G.
2019-01-28
2019-09-12
  • Michael G.

    Michael G. - 2019-01-28

    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
    • Theo

      Theo - 2019-07-22

      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).

       
  • Michael G.

    Michael G. - 2019-07-29

    Theo,

    YOU ARE THE BOMB! Thank you so much for helping me with this!

    -- Michael

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.