* 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
address@hidden:~/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