powwow compile problem - xubuntu - SOLVED

Here we discussed clients, mappers, tunnels and their settings.
Locked
wiseman
Posts: 23
Joined: Mon Jan 19, 2009 6:51 pm

powwow compile problem - xubuntu - SOLVED

Post by wiseman »

Hey all,

I'm attempting to compile powwow (1.2.16) on the latest version of xubuntu and am experiencing some issues. I've installed the buildessentials package so I do have a working compiler.

Below is the error output after running make, ./configure appears to run correctly.

gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"powwow\" -DVERSION=\"1.2.14\" -DUSE_REGEXP=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DUSE_LOCALE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_BZERO=1 -I. -DPOWWOW_DIR=\"/usr/local/share/powwow\" -DPLUGIN_DIR=\"/usr/local/lib/powwow\" -g -O2 -MT beam.o -MD -MP -MF .deps/beam.Tpo -c -o beam.o beam.c
mv -f .deps/beam.Tpo .deps/beam.Po
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"powwow\" -DVERSION=\"1.2.14\" -DUSE_REGEXP=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DUSE_LOCALE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_BZERO=1 -I. -DPOWWOW_DIR=\"/usr/local/share/powwow\" -DPLUGIN_DIR=\"/usr/local/lib/powwow\" -g -O2 -MT cmd.o -MD -MP -MF .deps/cmd.Tpo -c -o cmd.o cmd.c
cmd.c: In function ‘cmd_shell’:
cmd.c:578: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
mv -f .deps/cmd.Tpo .deps/cmd.Po
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"powwow\" -DVERSION=\"1.2.14\" -DUSE_REGEXP=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DUSE_LOCALE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_BZERO=1 -I. -DPOWWOW_DIR=\"/usr/local/share/powwow\" -DPLUGIN_DIR=\"/usr/local/lib/powwow\" -g -O2 -MT log.o -MD -MP -MF .deps/log.Tpo -c -o log.o log.c
mv -f .deps/log.Tpo .deps/log.Po
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"powwow\" -DVERSION=\"1.2.14\" -DUSE_REGEXP=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DUSE_LOCALE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_BZERO=1 -I. -DPOWWOW_DIR=\"/usr/local/share/powwow\" -DPLUGIN_DIR=\"/usr/local/lib/powwow\" -g -O2 -MT edit.o -MD -MP -MF .deps/edit.Tpo -c -o edit.o edit.c
mv -f .deps/edit.Tpo .deps/edit.Po
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"powwow\" -DVERSION=\"1.2.14\" -DUSE_REGEXP=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DUSE_LOCALE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_BZERO=1 -I. -DPOWWOW_DIR=\"/usr/local/share/powwow\" -DPLUGIN_DIR=\"/usr/local/lib/powwow\" -g -O2 -MT cmd2.o -MD -MP -MF .deps/cmd2.Tpo -c -o cmd2.o cmd2.c
mv -f .deps/cmd2.Tpo .deps/cmd2.Po
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"powwow\" -DVERSION=\"1.2.14\" -DUSE_REGEXP=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DUSE_LOCALE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_BZERO=1 -I. -DPOWWOW_DIR=\"/usr/local/share/powwow\" -DPLUGIN_DIR=\"/usr/local/lib/powwow\" -g -O2 -MT eval.o -MD -MP -MF .deps/eval.Tpo -c -o eval.o eval.c
mv -f .deps/eval.Tpo .deps/eval.Po
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"powwow\" -DVERSION=\"1.2.14\" -DUSE_REGEXP=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DUSE_LOCALE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_BZERO=1 -I. -DPOWWOW_DIR=\"/usr/local/share/powwow\" -DPLUGIN_DIR=\"/usr/local/lib/powwow\" -g -O2 -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.c
mv -f .deps/utils.Tpo .deps/utils.Po
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"powwow\" -DVERSION=\"1.2.14\" -DUSE_REGEXP=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DUSE_LOCALE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_BZERO=1 -I. -DPOWWOW_DIR=\"/usr/local/share/powwow\" -DPLUGIN_DIR=\"/usr/local/lib/powwow\" -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"powwow\" -DVERSION=\"1.2.14\" -DUSE_REGEXP=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DUSE_LOCALE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_BZERO=1 -I. -DPOWWOW_DIR=\"/usr/local/share/powwow\" -DPLUGIN_DIR=\"/usr/local/lib/powwow\" -g -O2 -MT tcp.o -MD -MP -MF .deps/tcp.Tpo -c -o tcp.o tcp.c
mv -f .deps/tcp.Tpo .deps/tcp.Po
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"powwow\" -DVERSION=\"1.2.14\" -DUSE_REGEXP=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DUSE_LOCALE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_BZERO=1 -I. -DPOWWOW_DIR=\"/usr/local/share/powwow\" -DPLUGIN_DIR=\"/usr/local/lib/powwow\" -g -O2 -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.c
mv -f .deps/list.Tpo .deps/list.Po
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"powwow\" -DVERSION=\"1.2.14\" -DUSE_REGEXP=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DUSE_LOCALE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_BZERO=1 -I. -DPOWWOW_DIR=\"/usr/local/share/powwow\" -DPLUGIN_DIR=\"/usr/local/lib/powwow\" -g -O2 -MT map.o -MD -MP -MF .deps/map.Tpo -c -o map.o map.c
mv -f .deps/map.Tpo .deps/map.Po
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"powwow\" -DVERSION=\"1.2.14\" -DUSE_REGEXP=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DUSE_LOCALE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_BZERO=1 -I. -DPOWWOW_DIR=\"/usr/local/share/powwow\" -DPLUGIN_DIR=\"/usr/local/lib/powwow\" -g -O2 -MT tty.o -MD -MP -MF .deps/tty.Tpo -c -o tty.o tty.c
tty.c: In function ‘tty_start’:
tty.c:211: warning: ignoring return value of ‘wcrtomb’, declared with attribute warn_unused_result
mv -f .deps/tty.Tpo .deps/tty.Po
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"powwow\" -DVERSION=\"1.2.14\" -DUSE_REGEXP=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DUSE_LOCALE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_BZERO=1 -I. -DPOWWOW_DIR=\"/usr/local/share/powwow\" -DPLUGIN_DIR=\"/usr/local/lib/powwow\" -g -O2 -MT ptr.o -MD -MP -MF .deps/ptr.Tpo -c -o ptr.o ptr.c
mv -f .deps/ptr.Tpo .deps/ptr.Po
gcc -DPOWWOW_DIR=\"/usr/local/share/powwow\" -DPLUGIN_DIR=\"/usr/local/lib/powwow\" -g -O2 -rdynamic -ldl -o powwow beam.o cmd.o log.o edit.o cmd2.o eval.o utils.o main.o tcp.o list.o map.o tty.o ptr.o
tty.o: In function `tty_gotoxy':
/home/dave/powwow-1.2.14/tty.c:532: undefined reference to `tgoto'
tty.o: In function `tty_bootstrap':
/home/dave/powwow-1.2.14/tty.c:382: undefined reference to `tgetent'
tty.o: In function `extract':
/home/dave/powwow-1.2.14/tty.c:507: undefined reference to `tgetstr'
tty.o: In function `tty_bootstrap':
/home/dave/powwow-1.2.14/tty.c:408: undefined reference to `tgoto'
/home/dave/powwow-1.2.14/tty.c:412: undefined reference to `tgetflag'
collect2: ld returned 1 exit status
make: *** [powwow] Error 1


If anyone could help, it would be appreciated.
Last edited by wiseman on Wed Nov 25, 2009 4:53 am, edited 1 time in total.
wiseman
Posts: 23
Joined: Mon Jan 19, 2009 6:51 pm

Re: powwow compile problem - xubuntu

Post by wiseman »

Actually never mind, figured it out. I needed to install libncurses-dev.

I'll leave the thread up in case anyone else is having the same issue.
Locked