| Summary: | /usr/src/bin/stty/modes.c:129:13: error: use of undeclared identifier 'IUTF8' | ||
|---|---|---|---|
| Product: | Base System | Reporter: | tomasz.sowinski |
| Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed Unable to Reproduce | ||
| Severity: | Affects Only Me | CC: | markj, wb7odyfred |
| Priority: | --- | ||
| Version: | 14.0-STABLE | ||
| Hardware: | amd64 | ||
| OS: | Any | ||
No reply Guys I can not rebuild my base system. root@fredselfbuilt_rpi4b:/usr/src/include # grep -nRS IUTF8 *.c *.h
grep: *.c: No such file or directory
root@fredselfbuilt_rpi4b:/usr/src/include # grep -nRS IUTF8 *
root@fredselfbuilt_rpi4b:/usr/src/include # cd ..
root@fredselfbuilt_rpi4b:/usr/src # grep -nRS IUTF8 *
bin/stty/modes.c:129: { "iutf8", IUTF8, 0 },
bin/stty/modes.c:130: { "-iutf8", 0, IUTF8 },
bin/stty/print.c:130: put("-iutf8", IUTF8, 1);
crypto/openssh/ttymodes.c:316:#define SSH_TTYMODE_IUTF8 42 /* for SSH_BUG_UTF8TTYMODE */
crypto/openssh/ttymodes.c:319: if (OP == SSH_TTYMODE_IUTF8 && (ssh->compat & SSH_BUG_UTF8TTYMODE)) { \
crypto/openssh/ttymodes.h:121:#ifdef IUTF8
crypto/openssh/ttymodes.h:122:TTYMODE(IUTF8, c_iflag, 42)
crypto/openssh/ttymodes.h:123:#endif /* IUTF8 */
share/man/man4/termios.4:887:.It Dv IUTF8
stand/kboot/arch/powerpc64/termios_arch.h:54:#define HOST_IUTF8 0040000
stand/kboot/termios_gen.h:52:#define HOST_IUTF8 0040000
sys/kern/tty_ttydisc.c:811: } else if ((tp->t_termios.c_iflag & IUTF8) != 0 &&
sys/kern/tty.c:89: IGNCR|ICRNL|IXON|IXOFF|IXANY|IMAXBEL|IUTF8)
sys/sys/_termios.h:100:#define IUTF8 0x00004000 /* assume input is utf-8 encoded */
^C
Here is a simplistic answer to something you probably have figured out.
Hope this grep -nR helps you find , which *.h file got left out or modified
Here are 2 places IUTF8 are defined. Now to figure out why they were not included. You have to just run the preprocessor on the C code base, and then look for what DID NOT GET defined, Fred
stand/kboot/termios_gen.h:52
sys/sys/_termios.h:100
(In reply to tomasz.sowinski from comment #1) You need to, at least, provide: - the exact command you're using to rebuild, including the contents of /etc/{src,make}.conf, - the version of FreeBSD you're running - the revision of FreeBSD sources you're trying to build Thanks Guys for your help. I removed all entries from make.conf then rebuild system with make build world. After that system was able to build normally. Issue can be closed now. |
When I was building base system on my machine an error occurred. --- all_subdir_bin --- /usr/src/bin/stty/modes.c:129:13: error: use of undeclared identifier 'IUTF8' { "iutf8", IUTF8, 0 }, ^ /usr/src/bin/stty/modes.c:130:17: error: use of undeclared identifier 'IUTF8' { "-iutf8", 0, IUTF8 }, ^ 2 errors generated.