I'm getting some linker errors on OBSD with the newest checkins. I think lex-def.h is not being included in set.q. (Explicitly including lex-def.h gets rid of some of these.)
It did compile on GNU/Linux. set.o(.text+0x4923): In function `stc_custom_results': /home/jhs/src/pspp/src/set.q:734: undefined reference to `lex_id_match' set.o(.text+0x4a7f): In function `stc_custom_format': /home/jhs/src/pspp/src/set.q:796: undefined reference to `parse_format_specifier' set.o(.text+0x5052): In function `stc_custom_workdev': /home/jhs/src/pspp/src/set.q:1018: undefined reference to `lex_id_match' data-in.o(.text+0x85a): In function `parse_enum': /home/jhs/src/pspp/src/data-in.c:768: undefined reference to `lex_id_match_len' data-list.o(.text+0x984): In function `fixed_parse_compatible': /home/jhs/src/pspp/src/data-list.c:480: undefined reference to `parse_format_specifier_name' data-list.o(.text+0xd16): In function `fixed_parse_fortran_internal': /home/jhs/src/pspp/src/data-list.c:726: undefined reference to `parse_format_specifier' data-list.o(.text+0x104c): In function `parse_free': /home/jhs/src/pspp/src/data-list.c:840: undefined reference to `parse_format_specifier' dfm-read.o(.text+0x375): In function `read_inline_record': /home/jhs/src/pspp/src/dfm-read.c:206: undefined reference to `lex_id_match_len' file-type.o(.text+0x6c0): In function `parse_col_spec': /home/jhs/src/pspp/src/file-type.c:363: undefined reference to `parse_format_specifier_name' formats.o(.text+0x8d): In function `internal_cmd_formats': /home/jhs/src/pspp/src/formats.c:92: undefined reference to `parse_format_specifier' get.o(.text+0xdd5): In function `cmd_match_files': /home/jhs/src/pspp/src/get.c:780: undefined reference to `lex_id_match' get.o(.text+0xdee):/home/jhs/src/pspp/src/get.c:780: undefined reference to `lex_id_match' lexer.o(.text+0x7ff): In function `lex_get': /home/jhs/src/pspp/src/str.h:214: undefined reference to `lex_id_to_token' lexer.o(.text+0xb58): In function `lex_match_id': /home/jhs/src/pspp/src/lexer.c:513: undefined reference to `lex_id_match' lexer.o(.text+0xbda): In function `lex_force_match_id': /home/jhs/src/pspp/src/lexer.c:547: undefined reference to `lex_id_match' lexer.o(.text+0xe05): In function `lex_put_back_id': /home/jhs/src/pspp/src/lexer.c:679: undefined reference to `lex_id_to_token' lexer.o(.text+0x10dc): In function `lex_token_name': /home/jhs/src/pspp/src/lexer.c:840: undefined reference to `keywords' lexer.o(.text+0x12a1): In function `lex_token_representation': /home/jhs/src/pspp/src/lexer.c:916: undefined reference to `keywords' numeric.o(.text+0x11f): In function `cmd_numeric': /home/jhs/src/pspp/src/numeric.c:57: undefined reference to `parse_format_specifier' numeric.o(.text+0x203): In function `cmd_string': /home/jhs/src/pspp/src/numeric.c:127: undefined reference to `parse_format_specifier' print.o(.text+0xa55): In function `fixed_parse_compatible': /home/jhs/src/pspp/src/print.c:559: undefined reference to `parse_format_specifier_name' print.o(.text+0xe2e): In function `fixed_parse_fortran': /home/jhs/src/pspp/src/print.c:752: undefined reference to `parse_format_specifier' repeat.o(.text+0xe3): In function `recognize_keyword': /home/jhs/src/pspp/src/repeat.c:122: undefined reference to `lex_id_match_len' sysfile-info.o(.text+0x94b): In function `cmd_display': /home/jhs/src/pspp/src/sysfile-info.c:229: undefined reference to `lex_id_match' vars-atr.o(.text+0x2e1): In function `var_is_valid_name': /home/jhs/src/pspp/src/vars-atr.c:162: undefined reference to `lex_id_to_token' expressions/libexpressions.a(parse.o)(.text+0xe5d): In function `parse_primary': /home/jhs/src/pspp/src/expressions/parse.c:798: undefined reference to `parse_format_specifier' collect2: ld returned 1 exit status *** Error code 1 -- Jason H. Stover Assistant Professor Mathematics Department Georgia College & State University _______________________________________________ pspp-dev mailing list pspp-dev@gnu.org http://lists.gnu.org/mailman/listinfo/pspp-dev