Bug 12612

Summary: ncurses ash shipped with 3.2-R missing symbols?
Product: Base System Reporter: reichert <reichert>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.2-RELEASE   
Hardware: Any   
OS: Any   

Description reichert 1999-07-12 20:20:01 UTC
Which building a nscurses-based perl module, I get the error:
 Undefined symbol "acs_map" at /usr/libdata/perl/5.00503/DynaLoader.pm line 169.

Research reveals:

john-whorfin% nm /usr/lib/libncurses.* | grep acs_map
         U acs_map
00000200 C acs_map
000108d8 B acs_map
000108d8 B acs_map

/usr/include/ncurses.h contains 'extern  chtype acs_map[]', but nothing seems 
to define it...

How-To-Repeat: Try to build the perl module Curses-1.02 with the hint file hints/c-freebsd.ncurses.h
Comment 1 nick.hibma 1999-07-24 18:39:37 UTC
I can't reproduce the problem easily on CURRENT. Could you send me
exactly the steps you took to create the Makefile (perl Makefile.PL?).
I've problems with SCREEN being undeclared (/usr/include/ncurses.h) is
included nowhere.

Nick
-- 
ISIS/STA, T.P.270, Joint Research Centre, 21020 Ispra, Italy
Comment 2 nbm freebsd_committer freebsd_triage 2000-06-26 12:31:56 UTC
State Changed
From-To: open->feedback

I'm unable to reproduce this - does this problem still occur with 3.4 or 
3.5?
Comment 3 dickey 2000-06-29 11:55:54 UTC
It looks more like a problem with the linker - the acs_map is declared 'C'
(common) according to the grep.

>   Navigation Bar
>
>                           Problem Report misc/12612
>
>   ncurses ash shipped with 3.2-R missing symbols?
...
>Which building a nscurses-based perl module, I get the error:
> Undefined symbol "acs_map" at /usr/libdata/perl/5.00503/DynaLoader.pm line 169
>.
>
>Research reveals:
>
>john-whorfin% nm /usr/lib/libncurses.* | grep acs_map
>         U acs_map
>00000200 C acs_map
>000108d8 B acs_map
>000108d8 B acs_map
Comment 4 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2001-03-13 00:37:00 UTC
State Changed
From-To: feedback->closed

Feedback timeout.