* On 2016 04 Jan 15:19 -0600, David Quental wrote:
> Hi Nate and all from the list,
> 
> to all a nice HNY 2016.
> 
> Just to tell that I can not compile the new-onechar.c file:
> 
> gcc -o new-onechar -lncurses new-onechar.c
> /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
> /tmp/cc8JFHNd.o: undefined reference to symbol 'keypad'
> /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/libtinfo.so: error
> adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
> ct1drb@new-host:~/reserva/ct1drb/tlf/src>
> 
> I have OpenSuSE leap 42.1 64bits.

Oh, please disregard my previous post.  This is a linker error and not a
compiler error.  You will need to add the path where libnurses.so lives
with the -L option,  Ervin's first post has an example.

HTH,

73, Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us

_______________________________________________
Tlf-devel mailing list
Tlf-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tlf-devel

Reply via email to