Subject: sysutils/mc undefined references
To: None <netbsd-users@netbsd.org>
From: Lubos Vrbka <shnek@tiscali.cz>
List: netbsd-users
Date: 09/16/2004 09:34:48
hi guys,

after a hdd failure i had to reinstall my i386 box. i have 2.0_BETA on 
it. now i experience problems when building several applications from 
pkgsrc.

during sysutils/mc build i can see the following (make install phase):
gmake[1]: Entering directory `/usr/pkgsrc/sysutils/mc/work/mc-4.5.51/src'
gcc -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o mc 
dir.o util.o screen.o dialog.o key.o keyxdef.o menu.o file.o win.o 
color.o help.o find.o profile.o user.o view.o ext.o mouse.o setup.o 
dlg.o option.o tree.o widget.o chmod.o mad.o wtools.o info.o 
cons.handler.o chown.o subshell.o terms.o boxes.o hotlist.o achown.o 
layout.o fsusage.o mountlist.o  regex.o complete.o slint.o command.o 
cmd.o main.o panelize.o learn.o listmode.o utilunix.o background.o 
rxvt.o text.o popt.o findme.o poptparse.o poptconfig.o popthelp.o 
filegui.o filenot.o fileopctx.o treestore.o -L../vfs -L../slang 
-L../edit -lvfs-mc -lmcslang -ledit   -lintl -lm -ltermcap -lintl 
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lglib -ltermcap
user.o(.text+0xcf6): In function `execute_menu_command':
: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
util.o(.text+0xe69): In function `get_current_wd':
: warning: getwd() possibly used unsafely, consider using getcwd()
setup.o(.rodata+0x2fc): undefined reference to 
`option_word_wrap_line_length'
setup.o(.rodata+0x304): undefined reference to `edit_key_emulation'
setup.o(.rodata+0x30c): undefined reference to `option_tab_spacing'
setup.o(.rodata+0x314): undefined reference to 
`option_fill_tabs_with_spaces'
setup.o(.rodata+0x31c): undefined reference to 
`option_return_does_auto_indent'
setup.o(.rodata+0x324): undefined reference to 
`option_backspace_through_tabs'
setup.o(.rodata+0x32c): undefined reference to `option_fake_half_tabs'
setup.o(.rodata+0x334): undefined reference to `option_save_mode'
setup.o(.rodata+0x33c): undefined reference to `option_backup_ext_int'
setup.o(.rodata+0x344): undefined reference to `option_auto_para_formatting'
setup.o(.rodata+0x34c): undefined reference to `option_typewriter_wrap'
setup.o(.rodata+0x354): undefined reference to `edit_confirm_save'
setup.o(.rodata+0x35c): undefined reference to `option_syntax_highlighting'
layout.o(.text+0x131f): In function `change_screen_size':
: undefined reference to `edit_dlg'
layout.o(.text+0x134d): In function `change_screen_size':
: undefined reference to `edit_adjust_size'
cmd.o(.text+0x586): In function `do_edit_at_line':
: undefined reference to `edit'
main.o(.text+0x2192): In function `mc_maybe_editor_or_viewer':
: undefined reference to `edit'
main.o(.text+0x2b42): In function `main':
: undefined reference to `edit_init_file'
main.o(.data+0x4fc): undefined reference to `edit_user_menu_cmd'
gmake[1]: *** [mc] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/sysutils/mc/work/mc-4.5.51/src'
gmake: *** [install] Error 1
*** Error code 2

is there something i am missing? thanks for any hints.

-- 
Lubos
_@_"