-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dr. Volker Zell wrote: > > Try this: > > diff -Naurp -x .build -x .inst -x .sinst Curses-1.06-orig/Curses.c > Curses-1.06/Curses.c > [patch...]
Thanks, this worked. The module compiled and after testing it with a perl script which depends on it, it seems to be working fine. For the completeness of this topic, gcc does give some warnings during build. I guess these don't matter so much, since it's working fine anyways, but I thought I would check. After checking for a long list of functions which are found, the following happens. Got any ideas? function 'flusok' NOT found function 'getcap' NOT found function 'touchoverlap' NOT found function 'new_panel' NOT found function 'bottom_panel' NOT found function 'top_panel' NOT found function 'show_panel' NOT found function 'update_panels' NOT found function 'hide_panel' NOT found function 'panel_window' NOT found function 'replace_panel' NOT found function 'move_panel' NOT found function 'panel_hidden' NOT found function 'panel_above' NOT found function 'panel_below' NOT found function 'set_panel_userptr' NOT found function 'panel_userptr' NOT found function 'del_panel' NOT found function 'set_menu_fore' NOT found function 'menu_fore' NOT found function 'set_menu_back' NOT found function 'menu_back' NOT found function 'set_menu_grey' NOT found function 'menu_grey' NOT found function 'set_menu_pad' NOT found function 'menu_pad' NOT found function 'pos_menu_cursor' NOT found function 'menu_driver' NOT found function 'set_menu_format' NOT found function 'menu_format' NOT found function 'set_menu_items' NOT found function 'menu_items' NOT found function 'item_count' NOT found function 'set_menu_mark' NOT found function 'menu_mark' NOT found function 'new_menu' NOT found function 'free_menu' NOT found function 'menu_opts' NOT found function 'set_menu_opts' NOT found function 'menu_opts_on' NOT found function 'menu_opts_off' NOT found function 'set_menu_pattern' NOT found function 'menu_pattern' NOT found function 'post_menu' NOT found function 'unpost_menu' NOT found function 'set_menu_userptr' NOT found function 'menu_userptr' NOT found function 'set_menu_win' NOT found function 'menu_win' NOT found function 'set_menu_sub' NOT found function 'menu_sub' NOT found function 'scale_menu' NOT found function 'set_current_item' NOT found function 'current_item' NOT found function 'set_top_row' NOT found function 'top_row' NOT found function 'item_index' NOT found function 'item_name' NOT found function 'item_description' NOT found function 'new_item' NOT found function 'free_item' NOT found function 'set_item_opts' NOT found function 'item_opts_on' NOT found function 'item_opts_off' NOT found function 'item_opts' NOT found function 'item_userptr' NOT found function 'set_item_userptr' NOT found function 'set_item_value' NOT found function 'item_value' NOT found function 'item_visible' NOT found function 'menu_request_name' NOT found function 'menu_request_by_name' NOT found function 'set_menu_spacing' NOT found function 'menu_spacing' NOT found function 'pos_form_cursor' NOT found function 'data_ahead' NOT found function 'data_behind' NOT found function 'form_driver' NOT found function 'set_form_fields' NOT found function 'form_fields' NOT found function 'field_count' NOT found function 'move_field' NOT found function 'new_form' NOT found function 'free_form' NOT found function 'set_new_page' NOT found function 'new_page' NOT found function 'set_form_opts' NOT found function 'form_opts_on' NOT found function 'form_opts_off' NOT found function 'form_opts' NOT found function 'set_current_field' NOT found function 'current_field' NOT found function 'set_form_page' NOT found function 'form_page' NOT found function 'field_index' NOT found function 'post_form' NOT found function 'unpost_form' NOT found function 'set_form_userptr' NOT found function 'form_userptr' NOT found function 'set_form_win' NOT found function 'form_win' NOT found function 'set_form_sub' NOT found function 'form_sub' NOT found function 'scale_form' NOT found function 'set_field_fore' NOT found function 'field_fore' NOT found function 'set_field_back' NOT found function 'field_back' NOT found function 'set_field_pad' NOT found function 'field_pad' NOT found function 'set_field_buffer' NOT found function 'field_buffer' NOT found function 'set_field_status' NOT found function 'field_status' NOT found function 'set_max_field' NOT found function 'field_info' NOT found function 'dynamic_field_info' NOT found function 'set_field_just' NOT found function 'field_just' NOT found function 'new_field' NOT found function 'dup_field' NOT found function 'link_field' NOT found function 'free_field' NOT found function 'set_field_opts' NOT found function 'field_opts_on' NOT found function 'field_opts_off' NOT found function 'field_opts' NOT found function 'set_field_userptr' NOT found function 'field_userptr' NOT found function 'field_arg' NOT found function 'form_request_name' NOT found function 'form_request_by_name' NOT found variable 'LINES' found variable 'COLS' found variable 'stdscr' found variable 'curscr' found variable 'COLORS' found variable 'COLOR_PAIRS' found typedef 'attr_t' found typedef 'bool' NOT found typedef 'chtype' found typedef 'MEVENT' found typedef 'mmask_t' found typedef 'SCREEN' found gcc -c -I/usr/local/include -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing - -DUSEIMPORTLIB -O2 -DVERSION=\"1.06\" -DXS_VERSION=\"1.06\" "-I/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE" Curses.c Curses.c: In function `c_sv2field': Curses.c:146: warning: cast to pointer from integer of different size Curses.c: In function `c_sv2form': Curses.c:167: warning: cast to pointer from integer of different size Curses.c: In function `c_sv2item': Curses.c:188: warning: cast to pointer from integer of different size Curses.c: In function `c_sv2menu': Curses.c:210: warning: cast to pointer from integer of different size Curses.c: In function `c_sv2panel': Curses.c:231: warning: cast to pointer from integer of different size Curses.c: In function `c_sv2screen': Curses.c:252: warning: cast to pointer from integer of different size Curses.c: In function `c_sv2window': Curses.c:274: warning: cast to pointer from integer of different size In file included from Curses.c:342: CursesFun.c: In function `XS_Curses_newterm': CursesFun.c:1279: warning: initialization from incompatible pointer type CursesFun.c:1280: warning: initialization from incompatible pointer type CursesFun.c: In function `XS_Curses_putwin': CursesFun.c:3453: warning: initialization from incompatible pointer type CursesFun.c: In function `XS_Curses_getwin': CursesFun.c:3472: warning: initialization from incompatible pointer type Running Mkbootstrap for Curses () chmod 644 Curses.bs rm -f blib/arch/auto/Curses/Curses.dll LD_RUN_PATH="" ld2 -s -L/usr/local/lib Curses.o -o blib/arch/auto/Curses/Curses.dll /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE/libperl.dll.a - -lncurses gcc -shared -o Curses.dll -Wl,--out-implib=libCurses.dll.a - -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \ - -s -L/usr/local/lib Curses.o /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE/libperl.dll.a - -lncurses Creating library file: libCurses.dll.a mv Curses.dll libCurses.dll.a blib/arch/auto/Curses/ chmod 755 blib/arch/auto/Curses/Curses.dll cp Curses.bs blib/arch/auto/Curses/Curses.bs chmod 644 blib/arch/auto/Curses/Curses.bs Manifying blib/man3/Curses.3pm -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (MingW32) - WinPT 0.7.96 iD8DBQFABfwVpiWmPGlmQSMRArWaAJsERbMCNS798w/NsLI5YuhVc1tx1wCfSXDA AD2p4hVLxMXsWztxW8m1Ia4= =I1cq -----END PGP SIGNATURE----- __________________________________________________________________ New! Unlimited Netscape Internet Service. Only $9.95 a month -- Sign up today at http://isp.netscape.com/register Act now to get a personalized email address! Netscape. Just the Net You Need.
