Subject: None
To: None <netbsd-help@NetBSD.ORG, port-mac68k@NetBSD.ORG>
From: Brad Salai <bsalai@tmonline.com>
List: port-mac68k
Date: 04/02/1997 05:42:41
I've been trying to build expect for a while (last few versions) and always run into
the following problem. 

Has anyone gotten this to work who can tell me what is wrong? I suspect that
I'm just missing a library that I need, but I can't figure out which one.

Even better than the answer would be an approach for solving this kind of problem
on my own.

Thanks.

Brad

rm -f libexpect522.a
ar cr libexpect522.a exp_command.o expect.o pty_termios.o exp_inter.o exp_regexp.o exp_tty.o  exp_log.o exp_main_sub.o exp_pty.o exp_printify.o exp_trap.o  exp_console.o exp_strf.o exp_glob.o exp_win.o Dbg.o exp_clib.o  exp_closetcl.o exp_memmove.o exp_tty_comm.o  exp_select.o exp_event.o
: libexpect522.a
cc -g  -o expect exp_main_exp.o libexpect522.a -L/usr/local/src/tcl7.6/unix -ltcl76  -lutil   -lm
./exp_main_sub.c:65: Undefined symbol `_exp_errorlog' referenced from text segment
./exp_main_sub.c:84: Undefined symbol `_exp_pty_exit' referenced from text segment
./exp_main_sub.c:121: Undefined symbol `_exp_onexit_action' referenced from text segment
./exp_main_sub.c:122: Undefined symbol `_exp_onexit_action' referenced from text segment
./exp_main_sub.c:126: Undefined symbol `_exp_debuglog' referenced from text segment
./exp_main_sub.c:134: Undefined symbol `_exp_debuglog' referenced from text segment
./exp_main_sub.c:138: Undefined symbol `_exp_forked' referenced from text segment
./exp_main_sub.c:138: Undefined symbol `_exp_dev_tty' referenced from text segment
./exp_main_sub.c:138: Undefined symbol `_exp_dev_tty' referenced from text segment
./exp_main_sub.c:138: Undefined symbol `_exp_ioctled_devtty' referenced from text segment
./exp_main_sub.c:143: Undefined symbol `_exp_dev_tty' referenced from text segment
./exp_main_sub.c:143: Undefined symbol `_exp_tty_original' referenced from text segment
./exp_main_sub.c:143: Undefined symbol `_exp_tty_set' referenced from text segment
./exp_main_sub.c:152: Undefined symbol `_exp_close_all' referenced from text segment
./exp_main_sub.c:239: Undefined symbol `_exp_cook' referenced from text segment
./exp_main_sub.c:239: Undefined symbol `_exp_errorlog' referenced from text segment
./exp_main_sub.c:270: Undefined symbol `_expect_key' referenced from text segment
./exp_main_sub.c:282: Undefined symbol `_exp_tty_cooked_echo' referenced from text segment
./exp_main_sub.c:286: Undefined symbol `_exp_log' referenced from text segment
./exp_main_sub.c:287: Undefined symbol `_exp_log' referenced from text segment
./exp_main_sub.c:291: Undefined symbol `_exp_log' referenced from text segment
./exp_main_sub.c:292: Undefined symbol `_exp_log' referenced from text segment
./exp_main_sub.c:301: Undefined symbol `_exp_fs' referenced from text segment
./exp_main_sub.c:302: Undefined symbol `_exp_fs' referenced from text segment
./exp_main_sub.c:333: Undefined symbol `_exp_debugfile' referenced from text segment
./exp_main_sub.c:333: Undefined symbol `_exp_debugfile' referenced from text segment
./exp_main_sub.c:335: Undefined symbol `_exp_logfile' referenced from text segment
./exp_main_sub.c:335: Undefined symbol `_exp_logfile' referenced from text segment
./exp_main_sub.c:348: Undefined symbol `_exp_tty_set' referenced from text segment
./exp_main_sub.c:365: Undefined symbol `_exp_cook' referenced from text segment
./exp_main_sub.c:365: Undefined symbol `_exp_log' referenced from text segment
./exp_main_sub.c:382: Undefined symbol `_exp_errorlog' referenced from text segment
./exp_main_sub.c:388: Undefined symbol `_exp_tty_set' referenced from text segment
./exp_main_sub.c:411: Undefined symbol `_exp_error' referenced from text segment
./exp_main_sub.c:426: Undefined symbol `_exp_error' referenced from text segment
./exp_main_sub.c:437: Undefined symbol `_exp_error' referenced from text segment
./exp_main_sub.c:441: Undefined symbol `_exp_errorlog' referenced from text segment
./exp_main_sub.c:477: Undefined symbol `_exp_init_pty' referenced from text segment
./exp_main_sub.c:481: Undefined symbol `_exp_init_stdio' referenced from text segment
./exp_main_sub.c:482: Undefined symbol `_exp_init_sig' referenced from text segment
./exp_main_sub.c:485: Undefined symbol `_exp_init_unit_random' referenced from text segment
./exp_main_sub.c:486: Undefined symbol `_exp_init_spawn_ids' referenced from text segment
./exp_main_sub.c:497: Undefined symbol `_exp_init_most_cmds' referenced from text segment
./exp_main_sub.c:498: Undefined symbol `_exp_init_expect_cmds' referenced from text segment
./exp_main_sub.c:501: Undefined symbol `_exp_init_tty_cmds' referenced from text segment
./exp_main_sub.c:502: Undefined symbol `_exp_init_interact_cmds' referenced from text segment
./exp_main_sub.c:504: Undefined symbol `_exp_init_spawn_id_vars' referenced from text segment
./exp_main_sub.c:566: Undefined symbol `_exp_cook' referenced from text segment
./exp_main_sub.c:566: Undefined symbol `_exp_errorlog' referenced from text segment
./exp_main_sub.c:569: Undefined symbol `_exp_is_debugging' referenced from text segment
./exp_main_sub.c:570: Undefined symbol `_exp_debuglog' referenced from text segment
./exp_main_sub.c:576: Undefined symbol `_exp_errorlog' referenced from text segment
./exp_main_sub.c:617: Undefined symbol `_exp_debuglog' referenced from text segment
./exp_main_sub.c:619: Undefined symbol `_exp_debuglog' referenced from text segment
./exp_main_sub.c:639: Undefined symbol `_exp_close_on_exec' referenced from text segment
./exp_main_sub.c:648: Undefined symbol `_exp_errorlog' referenced from text segment
./exp_main_sub.c:670: Undefined symbol `_exp_debuglog' referenced from text segment
./exp_main_sub.c:674: Undefined symbol `_exp_debuglog' referenced from text segment
./exp_main_sub.c:677: Undefined symbol `_exp_debuglog' referenced from text segment
./exp_main_sub.c:681: Undefined symbol `_exp_debuglog' referenced from text segment
./exp_main_sub.c:704: Undefined symbol `_exp_errorlog' referenced from text segment
./exp_main_sub.c:706: Undefined symbol `_exp_errorlog' referenced from text segment
./exp_main_sub.c:0: More undefined symbol _exp_errorlog refs follow
./exp_main_sub.c:0: More undefined symbol _exp_debuglog refs follow
./exp_main_sub.c:892: Undefined symbol `_exp_create_commands' referenced from text segment
./exp_trap.c:288: Undefined symbol `_exp_error' referenced from text segment
./exp_trap.c:343: Undefined symbol `_exp_error' referenced from text segment
./exp_trap.c:385: Undefined symbol `_exp_error' referenced from text segment
./exp_trap.c:425: Undefined symbol `_exp_error' referenced from text segment
./exp_trap.c:497: Undefined symbol `_exp_error' referenced from text segment
./exp_trap.c:549: Undefined symbol `_exp_create_commands' referenced from text segment
exp_tty_comm.c:31: Undefined symbol `_exp_tty_original' referenced from text segment
exp_tty_comm.c:34: Undefined symbol `_exp_tty_original' referenced from text segment
./exp_event.c:58: Undefined symbol `_exp_fs' referenced from text segment
./exp_event.c:62: Undefined symbol `_exp_fs' referenced from text segment
./exp_event.c:74: Undefined symbol `_exp_fs' referenced from text segment
./exp_event.c:78: Undefined symbol `_exp_fs' referenced from text segment
./exp_event.c:85: Undefined symbol `_exp_fs' referenced from text segment
./exp_event.c:85: Undefined symbol `_exp_background_filehandler' referenced from text segment
./exp_event.c:85: Undefined symbol `_exp_fs' referenced from text segment
./exp_event.c:90: Undefined symbol `_exp_fs' referenced from text segment
./exp_event.c:0: More undefined symbol _exp_fs refs follow
./exp_event.c:173: Undefined symbol `_exp_background_filehandler' referenced from text segment
./exp_event.c:228: Undefined symbol `_exp_configure_count' referenced from text segment
./exp_event.c:289: Undefined symbol `_exp_configure_count' referenced from text segment
*** Error code 1

Stop.