Skip to content

Compiling in OpenBSD 7.8 error: use of undeclared identifier 'WRDE_BADCHAR' #995

@ffuentese

Description

@ffuentese

Can't compile it. I really wanna try this spreadsheet but I'm struggling to compile. I set bison to compile and using gmake but I'm getting the following error:

cc -Wall -g -DNCURSES -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DSNAME="sc-im" -DHELP_PATH="/usr/local/share/sc-im" -DLIBDIR="/usr/local/share/doc/sc-im" -DDFLT_PAGER="less" -DDFLT_EDITOR="vim" -DUSECOLORS -DHISTORY_FILE="sc-iminfo" -DHISTORY_DIR=".cache" -DCONFIG_FILE="scimrc" -DCONFIG_DIR=".config/sc-im" -DINS_HISTORY_FILE="sc-iminfo" -DUNDO -DMAXROWS=65536 -DUSELOCALE -DMOUSE -DDEFAULT_COPY_TO_CLIPBOARD_CMD=""xclip -i -selection clipboard <"" -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=""xclip -o -selection clipboard"" -DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=""scopen"" -DAUTOBACKUP -DHAVE_PTHREAD -DGNUPLOT -DNO_WORDEXP -DXLUA -I/usr/local/include/lua-5.1 -c -o file.o file.c
file.c:2310:10: error: use of undeclared identifier 'WRDE_BADCHAR'
2310 | case WRDE_BADCHAR:
| ^
file.c:2312:10: error: use of undeclared identifier 'WRDE_BADVAL'
2312 | case WRDE_BADVAL:
| ^
file.c:2314:10: error: use of undeclared identifier 'WRDE_CMDSUB'
2314 | case WRDE_CMDSUB:
| ^
file.c:2316:10: error: use of undeclared identifier 'WRDE_NOSPACE'
2316 | case WRDE_NOSPACE:
| ^
file.c:2318:10: error: use of undeclared identifier 'WRDE_SYNTAX'
2318 | case WRDE_SYNTAX:
| ^
5 errors generated.
gmake: *** [: file.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions