EMNU v1.0.0

Johann Visagie johann at egenetics.com
Tue Jan 23 12:55:20 UTC 2001


gwilliam at hgmp.mrc.ac.uk on 2001-01-19 (Fri) at 11:25:56 +0000:
> 
> The simple character-based menu 'emnu' is now available from the EMBASSY
> FTP site:

I'm having a bad day.  :-)  Compilation of EMNU fails for me in such a basic
way that I'm sure the answer to the problem is right in front of me, but for
the life of me I can't figure it out right now.

I'm trying to compile on FreeBSD 5-CURRENT, which ships with ncurses 5.1.

Attached is the output of running gmake in EMNU-1.0.0/source.  As you can
see, emnu.o is compiled but upon trying to link it a whole bunch of undefined
references appear.  Examination with nm(1) indicates that these symbols are
indeed undefined.  The problem persists no matter how explicitly I enforce
linking in the Makefile (post-configure).  It's as linking against libncurses
just fails silently.  Very worrying.

Any ideas or pointers?

(The undefined references in libplplot is also worrying...  but one problem
at a time...)

-- Johann
-------------- next part --------------
Script started on Tue Jan 23 14:46:26 2001
cc -DPACKAGE=\"EMNU\" -DVERSION=\"1.0.0\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1  -I. -I.  -I../../../plplot -I../../../nucleus -I../../../ajax  -I/usr/local/include/gd  -O -c emnu.c
/bin/sh ../libtool --mode=link cc  -O  -o emnu  emnu.o ../../../plplot/libplplot.la ../../../ajax/libajax.la ../../../nucleus/libnucleus.la -lm -L/usr/local/lib -lncurses
mkdir .libs
cc -O -o .libs/emnu emnu.o ../../../plplot/.libs/libplplot.so -L/usr/lib -lm -L/usr/local/lib -lz -lgd -lpng ../../../ajax/.libs/libajax.so -lm -lz -lgd -lpng ../../../nucleus/.libs/libnucleus.so -lm -lz -lgd -lpng -lm -L/usr/local/lib -lncurses -Wl,--rpath -Wl,/usr/local/lib
emnu.o: In function `prompt':
emnu.o(.text+0x681): undefined reference to `new_field'
emnu.o(.text+0x69a): undefined reference to `new_form'
emnu.o(.text+0x6a9): undefined reference to `set_form_win'
emnu.o(.text+0x6d0): undefined reference to `set_form_sub'
emnu.o(.text+0x6ec): undefined reference to `form_opts_off'
emnu.o(.text+0x6f8): undefined reference to `post_form'
emnu.o(.text+0x71a): undefined reference to `form_win'
emnu.o(.text+0x756): undefined reference to `form_driver'
emnu.o(.text+0x78d): undefined reference to `form_driver'
emnu.o(.text+0x79d): undefined reference to `field_buffer'
emnu.o(.text+0x7c9): undefined reference to `field_buffer'
emnu.o(.text+0x814): undefined reference to `unpost_form'
emnu.o: In function `populate_file_menu':
emnu.o(.text+0xe4e): undefined reference to `new_item'
emnu.o(.text+0xe62): undefined reference to `new_item'
emnu.o(.text+0xe7a): undefined reference to `new_item'
emnu.o(.text+0xe8f): undefined reference to `new_item'
emnu.o(.text+0xf49): undefined reference to `new_item'
emnu.o(.text+0xf5d): more undefined references to `new_item' follow
emnu.o: In function `make_label':
emnu.o(.text+0x1049): undefined reference to `new_field'
emnu.o(.text+0x105e): undefined reference to `set_field_buffer'
emnu.o(.text+0x1069): undefined reference to `field_opts_off'
emnu.o: In function `make_field':
emnu.o(.text+0x1093): undefined reference to `new_field'
emnu.o(.text+0x10a7): undefined reference to `set_field_userptr'
emnu.o(.text+0x10b5): undefined reference to `field_opts_off'
emnu.o: In function `start_form':
emnu.o(.text+0x17c9): undefined reference to `new_form'
emnu.o(.text+0x17d5): undefined reference to `set_form_win'
emnu.o(.text+0x17fe): undefined reference to `set_form_sub'
emnu.o(.text+0x1817): undefined reference to `form_opts_off'
emnu.o(.text+0x1823): undefined reference to `post_form'
emnu.o(.text+0x1842): undefined reference to `form_win'
emnu.o: In function `end_form':
emnu.o(.text+0x1869): undefined reference to `form_win'
emnu.o(.text+0x1874): undefined reference to `form_sub'
emnu.o(.text+0x1882): undefined reference to `unpost_form'
emnu.o: In function `populate_program_menus':
emnu.o(.text+0x19ce): undefined reference to `new_item'
emnu.o(.text+0x19fa): undefined reference to `new_item'
emnu.o: In function `populate_menu':
emnu.o(.text+0x1ab4): undefined reference to `new_item'
emnu.o(.text+0x1ac8): undefined reference to `new_item'
emnu.o(.text+0x1ae0): undefined reference to `new_item'
emnu.o(.text+0x1af5): more undefined references to `new_item' follow
emnu.o: In function `populate_menu':
emnu.o(.text+0x1b36): undefined reference to `set_item_userptr'
emnu.o(.text+0x1b48): undefined reference to `new_item'
emnu.o(.text+0x1b60): undefined reference to `new_item'
emnu.o(.text+0x1bb8): undefined reference to `new_item'
emnu.o(.text+0x1bcd): undefined reference to `set_item_userptr'
emnu.o(.text+0x1cd8): undefined reference to `new_item'
emnu.o(.text+0x1cec): undefined reference to `new_item'
emnu.o(.text+0x1d17): undefined reference to `new_item'
emnu.o(.text+0x1d63): undefined reference to `item_userptr'
emnu.o(.text+0x1d8d): undefined reference to `new_item'
emnu.o(.text+0x1da1): undefined reference to `new_item'
emnu.o(.text+0x1db9): undefined reference to `new_item'
emnu.o(.text+0x1dc8): undefined reference to `item_userptr'
emnu.o: In function `start_menu':
emnu.o(.text+0x1e51): undefined reference to `new_menu'
emnu.o(.text+0x1e71): undefined reference to `set_menu_mark'
emnu.o(.text+0x1e8c): undefined reference to `menu_opts_off'
emnu.o(.text+0x1ef3): undefined reference to `set_menu_format'
emnu.o(.text+0x1f0d): undefined reference to `set_menu_win'
emnu.o(.text+0x1f5e): undefined reference to `set_menu_sub'
emnu.o(.text+0x1f77): undefined reference to `post_menu'
emnu.o: In function `end_menu':
emnu.o(.text+0x1fb5): undefined reference to `menu_items'
emnu.o(.text+0x1fc0): undefined reference to `menu_win'
emnu.o(.text+0x1fcf): undefined reference to `menu_sub'
emnu.o(.text+0x1fda): undefined reference to `unpost_menu'
emnu.o(.text+0x2007): undefined reference to `free_menu'
emnu.o(.text+0x201e): undefined reference to `free_item'
emnu.o: In function `store_file':
emnu.o(.text+0x207d): undefined reference to `current_item'
emnu.o(.text+0x2083): undefined reference to `item_name'
emnu.o(.text+0x20b0): undefined reference to `current_item'
emnu.o(.text+0x20b6): undefined reference to `item_name'
emnu.o: In function `recall_file':
emnu.o(.text+0x2120): undefined reference to `form_driver'
emnu.o(.text+0x2173): undefined reference to `form_driver'
emnu.o(.text+0x218d): undefined reference to `form_driver'
emnu.o(.text+0x21bb): undefined reference to `form_driver'
emnu.o(.text+0x21d5): undefined reference to `form_driver'
emnu.o(.text+0x21e3): more undefined references to `form_driver' follow
emnu.o: In function `get_default_file':
emnu.o(.text+0x221a): undefined reference to `current_item'
emnu.o(.text+0x2220): undefined reference to `item_name'
emnu.o: In function `stuff_file':
emnu.o(.text+0x2997): undefined reference to `form_driver'
emnu.o(.text+0x29e7): undefined reference to `form_driver'
emnu.o(.text+0x2a17): undefined reference to `form_driver'
emnu.o(.text+0x2a31): undefined reference to `form_driver'
emnu.o(.text+0x2a3f): undefined reference to `form_driver'
emnu.o: In function `show_tfm_help':
emnu.o(.text+0x2a73): undefined reference to `current_item'
emnu.o(.text+0x2a79): undefined reference to `item_name'
emnu.o(.text+0x2a85): undefined reference to `current_field'
emnu.o(.text+0x2a8e): undefined reference to `set_field_buffer'
emnu.o(.text+0x2a9f): undefined reference to `form_driver'
emnu.o(.text+0x2ab0): undefined reference to `current_field'
emnu.o(.text+0x2ab9): undefined reference to `field_buffer'
emnu.o: In function `show_help':
emnu.o(.text+0x2b8c): undefined reference to `current_field'
emnu.o(.text+0x2b95): undefined reference to `field_buffer'
emnu.o(.text+0x2e17): undefined reference to `current_item'
emnu.o(.text+0x2e1d): undefined reference to `item_index'
emnu.o: In function `command_virtualise':
emnu.o(.text+0x36d5): undefined reference to `current_field'
emnu.o(.text+0x36de): undefined reference to `field_buffer'
emnu.o(.text+0x370a): undefined reference to `current_field'
emnu.o(.text+0x3713): undefined reference to `field_buffer'
emnu.o: In function `update_dir_menu':
emnu.o(.text+0x3805): undefined reference to `menu_win'
emnu.o(.text+0x3815): undefined reference to `current_item'
emnu.o(.text+0x381b): undefined reference to `item_index'
emnu.o(.text+0x386f): undefined reference to `menu_driver'
emnu.o: In function `select_action':
emnu.o(.text+0x3897): undefined reference to `menu_win'
emnu.o(.text+0x38d4): undefined reference to `current_item'
emnu.o(.text+0x38f0): undefined reference to `current_item'
emnu.o(.text+0x38f6): undefined reference to `item_name'
emnu.o(.text+0x3928): undefined reference to `current_item'
emnu.o(.text+0x392e): undefined reference to `item_name'
emnu.o(.text+0x3960): undefined reference to `current_item'
emnu.o(.text+0x3966): undefined reference to `item_name'
emnu.o(.text+0x39cf): undefined reference to `current_item'
emnu.o(.text+0x39d5): undefined reference to `item_name'
emnu.o(.text+0x3a14): undefined reference to `current_item'
emnu.o(.text+0x3a1a): undefined reference to `item_name'
emnu.o(.text+0x3a5f): undefined reference to `current_item'
emnu.o(.text+0x3a65): undefined reference to `item_name'
emnu.o: In function `stuff_shellout_files':
emnu.o(.text+0x3adb): undefined reference to `form_driver'
emnu.o(.text+0x3ae6): undefined reference to `form_driver'
emnu.o(.text+0x3af4): undefined reference to `form_driver'
emnu.o(.text+0x3aff): undefined reference to `form_driver'
emnu.o(.text+0x3b0d): undefined reference to `form_driver'
emnu.o(.text+0x3b18): more undefined references to `form_driver' follow
emnu.o: In function `process_unknown_command':
emnu.o(.text+0x3bc0): undefined reference to `form_win'
emnu.o(.text+0x3bfb): undefined reference to `current_item'
emnu.o(.text+0x3c01): undefined reference to `item_name'
emnu.o(.text+0x3c10): undefined reference to `current_field'
emnu.o(.text+0x3c19): undefined reference to `set_field_buffer'
emnu.o(.text+0x3c2d): undefined reference to `form_driver'
emnu.o(.text+0x3c8e): undefined reference to `current_item'
emnu.o(.text+0x3c94): undefined reference to `item_name'
emnu.o(.text+0x3ca3): undefined reference to `current_field'
emnu.o(.text+0x3cac): undefined reference to `set_field_buffer'
emnu.o(.text+0x3cc0): undefined reference to `form_driver'
emnu.o(.text+0x3ce4): undefined reference to `current_field'
emnu.o(.text+0x3ced): undefined reference to `field_buffer'
emnu.o(.text+0x3d25): undefined reference to `pos_form_cursor'
emnu.o(.text+0x3e5d): undefined reference to `current_item'
emnu.o(.text+0x3e63): undefined reference to `item_name'
emnu.o(.text+0x3e72): undefined reference to `current_field'
emnu.o(.text+0x3e7b): undefined reference to `set_field_buffer'
emnu.o(.text+0x3e8f): undefined reference to `form_driver'
emnu.o: In function `run_form_menu':
emnu.o(.text+0x410d): undefined reference to `menu_win'
emnu.o(.text+0x415d): undefined reference to `current_item'
emnu.o(.text+0x4163): undefined reference to `item_name'
emnu.o(.text+0x4172): undefined reference to `current_field'
emnu.o(.text+0x417b): undefined reference to `set_field_buffer'
emnu.o(.text+0x418f): undefined reference to `form_driver'
emnu.o(.text+0x419b): undefined reference to `pos_form_cursor'
emnu.o(.text+0x41fc): undefined reference to `form_driver'
emnu.o(.text+0x4232): undefined reference to `form_driver'
emnu.o(.text+0x4246): undefined reference to `current_field'
emnu.o(.text+0x424f): undefined reference to `field_buffer'
emnu.o(.text+0x427e): undefined reference to `current_field'
emnu.o(.text+0x4287): undefined reference to `field_buffer'
emnu.o(.text+0x42a8): undefined reference to `set_menu_pattern'
emnu.o(.text+0x42c2): undefined reference to `pos_form_cursor'
emnu.o(.text+0x4358): undefined reference to `menu_driver'
emnu.o(.text+0x4369): undefined reference to `pos_form_cursor'
emnu.o(.text+0x4380): undefined reference to `current_item'
emnu.o(.text+0x4386): undefined reference to `item_name'
emnu.o(.text+0x43a5): undefined reference to `current_item'
emnu.o(.text+0x43ab): undefined reference to `item_name'
emnu.o(.text+0x43ba): undefined reference to `current_field'
emnu.o(.text+0x43c3): undefined reference to `set_field_buffer'
emnu.o(.text+0x43d7): undefined reference to `form_driver'
../../../plplot/.libs/libplplot.so: undefined reference to `XFreePixmap'
../../../plplot/.libs/libplplot.so: undefined reference to `XCheckWindowEvent'
../../../plplot/.libs/libplplot.so: undefined reference to `XCreateFontCursor'
../../../plplot/.libs/libplplot.so: undefined reference to `XSetWindowBackground'
../../../plplot/.libs/libplplot.so: undefined reference to `XSync'
../../../plplot/.libs/libplplot.so: undefined reference to `XDrawLines'
../../../plplot/.libs/libplplot.so: undefined reference to `XDefineCursor'
../../../plplot/.libs/libplplot.so: undefined reference to `XGetVisualInfo'
../../../plplot/.libs/libplplot.so: undefined reference to `XCloseDisplay'
../../../plplot/.libs/libplplot.so: undefined reference to `XPending'
../../../plplot/.libs/libplplot.so: undefined reference to `XSetForeground'
../../../plplot/.libs/libplplot.so: undefined reference to `XFillPolygon'
../../../plplot/.libs/libplplot.so: undefined reference to `XFreeGC'
../../../plplot/.libs/libplplot.so: undefined reference to `XCopyArea'
../../../plplot/.libs/libplplot.so: undefined reference to `XUndefineCursor'
../../../plplot/.libs/libplplot.so: undefined reference to `XStoreColor'
../../../plplot/.libs/libplplot.so: undefined reference to `XLookupString'
../../../plplot/.libs/libplplot.so: undefined reference to `XQueryPointer'
../../../plplot/.libs/libplplot.so: undefined reference to `XFree'
../../../plplot/.libs/libplplot.so: undefined reference to `XFreeColors'
../../../plplot/.libs/libplplot.so: undefined reference to `XSetErrorHandler'
../../../plplot/.libs/libplplot.so: undefined reference to `XAllocColorCells'
../../../plplot/.libs/libplplot.so: undefined reference to `XDestroyWindow'
../../../plplot/.libs/libplplot.so: undefined reference to `XSetWindowColormap'
../../../plplot/.libs/libplplot.so: undefined reference to `XSetBackground'
../../../plplot/.libs/libplplot.so: undefined reference to `XCreateColormap'
../../../plplot/.libs/libplplot.so: undefined reference to `XSynchronize'
../../../plplot/.libs/libplplot.so: undefined reference to `XDrawLine'
../../../plplot/.libs/libplplot.so: undefined reference to `XGetErrorText'
../../../plplot/.libs/libplplot.so: undefined reference to `XQueryColors'
../../../plplot/.libs/libplplot.so: undefined reference to `XAllocColor'
../../../plplot/.libs/libplplot.so: undefined reference to `XWindowEvent'
../../../plplot/.libs/libplplot.so: undefined reference to `XFlush'
../../../plplot/.libs/libplplot.so: undefined reference to `XCreateWindow'
../../../plplot/.libs/libplplot.so: undefined reference to `XSelectInput'
../../../plplot/.libs/libplplot.so: undefined reference to `XGetGeometry'
../../../plplot/.libs/libplplot.so: undefined reference to `XSetStandardProperties'
../../../plplot/.libs/libplplot.so: undefined reference to `XClearWindow'
../../../plplot/.libs/libplplot.so: undefined reference to `XFillRectangle'
../../../plplot/.libs/libplplot.so: undefined reference to `XWarpPointer'
../../../plplot/.libs/libplplot.so: undefined reference to `XCreatePixmap'
../../../plplot/.libs/libplplot.so: undefined reference to `XCreateGC'
../../../plplot/.libs/libplplot.so: undefined reference to `XOpenDisplay'
../../../plplot/.libs/libplplot.so: undefined reference to `XMapRaised'
gmake: *** [emnu] Error 1

Script done on Tue Jan 23 14:46:28 2001


More information about the EMBOSS mailing list