To whom it may concern:

When I try to build CDE on FreeBSD 11.0-RELEASE-p1, everything else builds but 
there are significant errors when building dtksh.

Here is the transcript:

—

+ cc -O2 -fno-strict-aliasing '-DPROFILEPATH="/etc/dt/config/profile"' 
'-DSUIDPROFILEPATH="/etc/dt/config/suid_profile"' 
'-DSUIDEXECPATH="/usr/dt/bin/suid_exec"' '-DCDE_INSTALLATION_TOP="/usr/dt"' 
-DCSRG_BASED -DANSICPP -DMULTIBYTE -DNLS16 '-DOSMAJORVERSION=11' 
'-DOSMINORVERSION=0' -I. -Isfio -Iinclude -D_PACKAGE_ast -c sfio/sfclrlock.c
sfio/sfclrlock.c:55:1: warning: type specifier missing, defaults to 'int' 
[-Wimplicit-int]
sfclrlock(reg Sfio_t* f)
^
sfio/sfclrlock.c:69:20: error: use of undeclared identifier 'SF_FLAGS'
                return (f->flags&SF_FLAGS);
                                 ^
sfio/sfclrlock.c:81:44: error: use of undeclared identifier 'SF_FLAGS'
        return _sfmode(f,0,0) < 0 ? 0 : (f->flags&SF_FLAGS);
                                                  ^
1 warning and 2 errors generated.
*** exit code 1 making sfclrlock.o
libvdelta requires libast but libast had build errors
libodelta requires libast but libast had build errors
pax requires libast but libast had build errors
build libcmd 950811
+ cc -O2 -fno-strict-aliasing '-DPROFILEPATH="/etc/dt/config/profile"' 
'-DSUIDPROFILEPATH="/etc/dt/config/suid_profile"' 
'-DSUIDEXECPATH="/usr/dt/bin/suid_exec"' '-DCDE_INSTALLATION_TOP="/usr/dt"' 
-DCSRG_BASED -DANSICPP -DMULTIBYTE -DNLS16 '-DOSMAJORVERSION=11' 
'-DOSMINORVERSION=0' -I. 
-I/usr/home/dcarmich/cdesktopenv-code/cde/programs/dtksh/ksh93/include/ast -c 
cmdinit.c
In file included from cmdinit.c:93:
./cmdlib.h:111:44: error: unknown type name 'Sfio_t'
extern __MANGLE__ int           rev_line __PROTO__((Sfio_t*, Sfio_t*, off_t));
                                                    ^
./cmdlib.h:111:53: error: unknown type name 'Sfio_t'
extern __MANGLE__ int           rev_line __PROTO__((Sfio_t*, Sfio_t*, off_t));
                                                             ^
./cmdlib.h:111:62: warning: type specifier missing, defaults to 'int' 
[-Wimplicit-int]
extern __MANGLE__ int           rev_line __PROTO__((Sfio_t*, Sfio_t*, off_t));
                                                                      ^
cmdinit.c:99:11: warning: implicitly declaring library function 'strrchr' with 
type 'char *(const char *, int)' [-Wimplicit-function-declaration]
        if (cp = strrchr(argv[0], '/')) cp++;
                 ^
cmdinit.c:99:11: note: include the header <string.h> or explicitly provide a 
declaration for 'strrchr'
cmdinit.c:99:9: warning: using the result of an assignment as a condition 
without parentheses [-Wparentheses]
        if (cp = strrchr(argv[0], '/')) cp++;
            ~~~^~~~~~~~~~~~~~~~~~~~~~~
cmdinit.c:99:9: note: place parentheses around the assignment to silence this 
warning
        if (cp = strrchr(argv[0], '/')) cp++;
               ^
            (                         )
cmdinit.c:99:9: note: use '==' to turn this assignment into an equality 
comparison
        if (cp = strrchr(argv[0], '/')) cp++;
               ^
               ==
cmdinit.c:101:2: error: use of undeclared identifier 'error_info'
        error_info.id = cp;
        ^
3 warnings and 3 errors generated.
*** exit code 1 making cmdinit.o
ksh93 requires libcmd but libcmd had build errors
build libAST 930519
+ mv 
/usr/home/dcarmich/cdesktopenv-code/cde/programs/dtksh/ksh93/lib/probe/C/probe 
/usr/home/dcarmich/cdesktopenv-code/cde/programs/dtksh/ksh93/lib/probe/C/probe.old
+ 2> /dev/null
+ cp C.probe 
/usr/home/dcarmich/cdesktopenv-code/cde/programs/dtksh/ksh93/lib/probe/C/probe
+ 2> /dev/null
+ mv 
/usr/home/dcarmich/cdesktopenv-code/cde/programs/dtksh/ksh93/lib/make/PROBE.mk 
/usr/home/dcarmich/cdesktopenv-code/cde/programs/dtksh/ksh93/lib/make/PROBE.mk.old
+ 2> /dev/null
+ cp PROBE.mk 
/usr/home/dcarmich/cdesktopenv-code/cde/programs/dtksh/ksh93/lib/make/PROBE.mk
+ 2> /dev/null
+ proto -f /dev/null
+ 1> h.70630.h
+ cmp -s h.70630.h prototyped.h
+ rm -f h.70630.h
+ mv 
/usr/home/dcarmich/cdesktopenv-code/cde/programs/dtksh/ksh93/include/ast/prototyped.h
 
/usr/home/dcarmich/cdesktopenv-code/cde/programs/dtksh/ksh93/include/ast/prototyped.h.old
+ 2> /dev/null
+ cp prototyped.h 
/usr/home/dcarmich/cdesktopenv-code/cde/programs/dtksh/ksh93/include/ast/prototyped.h
+ 2> /dev/null
make[4]: don't know how to make ./src/cmd/ksh93/main.o. Stop

make[4]: stopped in /usr/home/dcarmich/cdesktopenv-code/cde/programs/dtksh/ksh93
*** Error code 2

Stop.
make[3]: stopped in /usr/home/dcarmich/cdesktopenv-code/cde/programs/dtksh
*** Error code 1

Stop.
make[2]: stopped in /usr/home/dcarmich/cdesktopenv-code/cde/programs
*** Error code 1

Stop.
make[1]: stopped in /usr/home/dcarmich/cdesktopenv-code/cde
*** Error code 1

Stop.
make: stopped in /usr/home/dcarmich/cdesktopenv-code/cde

—

What could cause this, and how could one fix it?

—Douglas



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to