Julien Cristau <[email protected]> (24/03/2010): > libslang.so.2 on hppa has undefined symbols: > > (sid)jcris...@paer:~$ ldd -r /lib/libslang.so.2 > libdl.so.2 => /lib/libdl.so.2 (0x404f6000) > libm.so.6 => /lib/libm.so.6 (0x40450000) > libc.so.6 => /lib/libc.so.6 (0x408f0000) > /lib/ld.so.1 (0x410dc000) > undefined symbol: tgetflag (/lib/libslang.so.2) > undefined symbol: tgetent (/lib/libslang.so.2) > undefined symbol: tgetnum (/lib/libslang.so.2) > undefined symbol: tgetstr (/lib/libslang.so.2)
Caused by:
,---[ build-tree/slang-2.2.2/src/sldisply.c ]---
| /* #define USE_TERMCAP 1 */
| #ifdef USE_TERMCAP
| /* Termcap based system */
| static char Termcap_Buf[4096];
| /* static char Termcap_String_Buf[4096]; */
| /* static char *Termcap_String_Ptr; */
| extern char *tgetstr(char *, char **);
| extern int tgetent(char *, char *);
| extern int tgetnum(char *);
| extern int tgetflag(char *);
| #else
| /* Terminfo */
| static SLterminfo_Type *Terminfo;
| #endif
`---
,---[ configure check ]---
| TERMCAP=-ltermcap
|
| for terminfo_dir in $JD_Terminfo_Dirs
| do
| if test -d $terminfo_dir
| then
| { echo "$as_me:$LINENO: result: yes" >&5
| echo "${ECHO_T}yes" >&6; }
| TERMCAP=""
| break
| fi
| done
| if test "$TERMCAP"; then
| { echo "$as_me:$LINENO: result: no" >&5
| echo "${ECHO_T}no" >&6; }
| cat >>confdefs.h <<\_ACEOF
| #define USE_TERMCAP 1
| _ACEOF
|
| fi
`---
As can be seen in build logs, configure bits:
| amd64: checking for terminfo... yes
| hppa: checking for terminfo... no
I don't know why that's the case yet, but I might look into this later
today.
Mraw,
KiBi.
signature.asc
Description: Digital signature

