Skip to content
  • deuce's avatar
    231ad3ed
    NetBSD still needs xp_sem.h to beuild some stuff... prevents: · 231ad3ed
    deuce authored
    gcc -O3 -MMD -D__unix__ -I/usr/pkg/include -I/usr/pkg/pthreads/include -DNEEDS_FORKPTY -D__unix__  -DJAVASCRIPT -I../../include/mozilla/js  -I../uifc -I../xpdev -I../smblib -I../conio  -o gcc.netbsd.obj.release/sbbsecho.o -c sbbsecho.c
    In file included from ../xpdev/threadwrap.h:108,
                     from startup.h:47,
                     from scfgdefs.h:43,
                     from ars_defs.h:52,
                     from sbbs.h:115,
                     from sbbsecho.c:63:
    ../xpdev/semwrap.h:65: parse error before `*'
    In file included from scfgdefs.h:43,
                     from ars_defs.h:52,
                     from sbbs.h:115,
                     from sbbsecho.c:63:
    startup.h:91: parse error before `sem_t'
    startup.h:91: warning: no semicolon at end of struct or union
    startup.h:105: `seteuid' redeclared as different kind of symbol
    /usr/include/unistd.h:333: previous declaration of `seteuid'
    startup.h:106: `setuid' redeclared as different kind of symbol
    /usr/include/unistd.h:141: previous declaration of `setuid'
    startup.h:120: parse error before `recycle_sem'
    startup.h:120: warning: data definition has no type or storage class
    startup.h:123: parse error before `}'
    startup.h:123: warning: data definition has no type or storage class
    
    This is almost guaranteed to be the wrong way to fix this.
    231ad3ed
    NetBSD still needs xp_sem.h to beuild some stuff... prevents:
    deuce authored
    gcc -O3 -MMD -D__unix__ -I/usr/pkg/include -I/usr/pkg/pthreads/include -DNEEDS_FORKPTY -D__unix__  -DJAVASCRIPT -I../../include/mozilla/js  -I../uifc -I../xpdev -I../smblib -I../conio  -o gcc.netbsd.obj.release/sbbsecho.o -c sbbsecho.c
    In file included from ../xpdev/threadwrap.h:108,
                     from startup.h:47,
                     from scfgdefs.h:43,
                     from ars_defs.h:52,
                     from sbbs.h:115,
                     from sbbsecho.c:63:
    ../xpdev/semwrap.h:65: parse error before `*'
    In file included from scfgdefs.h:43,
                     from ars_defs.h:52,
                     from sbbs.h:115,
                     from sbbsecho.c:63:
    startup.h:91: parse error before `sem_t'
    startup.h:91: warning: no semicolon at end of struct or union
    startup.h:105: `seteuid' redeclared as different kind of symbol
    /usr/include/unistd.h:333: previous declaration of `seteuid'
    startup.h:106: `setuid' redeclared as different kind of symbol
    /usr/include/unistd.h:141: previous declaration of `setuid'
    startup.h:120: parse error before `recycle_sem'
    startup.h:120: warning: data definition has no type or storage class
    startup.h:123: parse error before `}'
    startup.h:123: warning: data definition has no type or storage class
    
    This is almost guaranteed to be the wrong way to fix this.
Loading