build problems

Michael Skowronski <>
Wed Oct 20 19:12:04 CEST 1999


i get the same errors as you.  apparently, debian ``potato'' has the same
problems.  

i'm trying to get ``buyin'' from the technical staff to replace some of
the backend things that we're doing in java w/ erlang so i need to
demonstrate that i can at least build it!

i'm going to keep trying and thanks for everyone's help.

Mike


On Wed, 20 Oct 1999, Klacke wrote:

> 
> Michael Skowronski writes:
>  > after looking through the build output in a little more detail, i noticed
>  > that some of the functions to manage the terminfo stuff in `ttsl_drv.c'
>  > were'nt getting defined.  so i tried fiddling with the includes for the
>  > curses and term headers and it still didn;t help.
> 
> 
> I had similar (And still have) problems with the ttsl_drv.c on
> some of our Redhat systems. I have no idea what's the problem was but the 
> following shell session seems to illustrate a serious problem
> the redhat installation on host duva:
> 
> 
> 
> duva:klacke> cat ttytest.c
> 
> main()
> {
>         tputs("a", 0, 0);
> }
> 
> duva:klacke> gcc ttytest.c
> /tmp/ccKFadDK.o: In function `main':
> /tmp/ccKFadDK.o(.text+0xd): undefined reference to `tputs'
> collect2: ld returned 1 exit status
> 
> 
> duva:klacke> gcc ttytest.c -ltermcap
> /usr/bin/ld: cannot open -ltermcap: No such file or directory
> collect2: ld returned 1 exit status
> 
> duva:klacke> nm /lib/libtermcap.so.2 | grep tputs
> 00001abc T tputs
> 0000361c B tputs_baud_rate
> 
> duva:klacke> gcc ttytest.c -ltermcap -L/lib
> /usr/bin/ld: cannot open -ltermcap: No such file or directory
> collect2: ld returned 1 exit status
> 
> duva:klacke> cat /etc/redhat-release 
> Red Hat Linux release 6.0 (Hedwig)
> 
> 
> 
> Can you compile ttytest.c
> 
> 
> /klacke
> 




More information about the erlang-questions mailing list