Undefined reference to lexar_line?
philliprusso
philliprusso at proton.me
Mon Jul 3 00:46:54 CEST 2023
Any insight on why undefined reference to lexar_line when making gcc-11?
I tried to fish around for lexar package if it were installed so far but no luck yet on how to get make to complete on WSL2 Ubuntu 22.04.6.
fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -static-libstdc++ -static-libgcc -o build/gengtype \
build/gengtype.o build/errors.o build/gengtype-lex.o build/gengtype-parse.o build/gengtype-state.o ../../build-x86_64-pc-linux-gnu/libiberty/libiberty.a
/usr/bin/ld: build/gengtype.o: in function `create_optional_field_(pair*, type*, char const*, char const*, int)':
/home/prusso/gcc-11/host-x86_64-pc-linux-gnu/gcc/../.././gcc/gengtype.cc:1030: undefined reference to `lexer_line'
/usr/bin/ld: build/gengtype.o: in function `adjust_field_rtx_def(type*, options*)':
/home/prusso/gcc-11/host-x86_64-pc-linux-gnu/gcc/../.././gcc/gengtype.cc:1165: undefined reference to `lexer_line'
/usr/bin/ld: /home/prusso/gcc-11/host-x86_64-pc-linux-gnu/gcc/../.././gcc/gengtype.cc:1220: undefined reference to `lexer_line'
/usr/bin/ld: /home/prusso/gcc-11/host-x86_64-pc-linux-gnu/gcc/../.././gcc/gengtype.cc:1230: undefined reference to `lexer_line'/usr/bin/ld: /home/prusso/gcc-11/host-x86_64-pc-linux-gnu/gcc/../.././gcc/gengtype.cc:1296: undefined reference to `lexer_line'
Sent with [Proton Mail](https://proton.me/) secure email.
More information about the gmp-bugs
mailing list