[S.u.S.E. Linux] ircII 4.4 does not compile: please, help.
![](https://seccdn.libravatar.org/avatar/abb286b48fd4f80aea703b53fac01ebb.jpg?s=120&d=mm&r=g)
I' m trying to compile ircII 4.4 under Linux Suse 5.1. After uncompression I exectuted: ./configure --prefix=/usr --exec-prefix=/usr and I got: creating cache ./config.cache this is ircii version 4.4 checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for POSIXized ISC... no checking for NeXT... no checking for AIX... no checking for flex... flex checking for yywrap in -lfl... yes checking whether gcc needs -traditional... no checking for getpwnam in -lsun... no checking for qnx... no checking for solaris... no checking for SVR4... no checking for -I/usr/netinclude... no checking for hpux version... no checking for ultrix... no checking for POSIX.1... yes checking for sequent/ptx... no checking for sys/un.h... yes checking for sys/select.h... no checking for sys/fcntl.h... yes checking for sys/ioctl.h... yes checking for sys/file.h... yes checking for sys/time.h... yes checking for sys/wait.h... yes checking for sys/twg_config.h... no checking for sys/ptem.h... no checking for unistd.h... yes checking for fcntl.h... yes checking for string.h... yes checking for memory.h... yes checking for netdb.h... yes checking for limits.h... yes checking for stdarg.h... yes checking for process.h... no checking for termcap.h... yes checking for termios.h... yes checking for setsid... yes checking for getpgid... yes checking for getsid... yes checking for scandir... yes checking for memmove... yes checking for uname... yes checking for strftime... yes checking for getcwd... yes checking for fchmod... yes checking for strerror... yes checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking return type of signal handlers... void checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for struct linger... yes checking for select... yes checking for tgetent in -ltermcap... no checking for tgetent in -ltermlib... no checking for tgetent in -lcurses... no checking for tgetent in -lxtermcap... no configure: warning: i can not find tgetent. you might need to help me checking for tputs in curses.h... no checking for tputs in term.h... yes checking signal implementation checking for sigaction... yes using posix signals checking for waitpid declaration... yes checking for sys_errlist declaration... yes checking for a 32 bit integer... unsigned long checking for socket in -lsocket... no checking for socket in -linet... no checking for gethostname in -lnsl... no checking for inet_addr in -ldgc... no checking for gethostbyname in -lresolv... no checking for non-blocking... posix generating a list of signal names... checking for unix mail directory... /var/spool/mail checking whether to support SOCKS... no checking for pax... no checking for tar... tar checking for gzcat... no checking for zcat... zcat checking for sendmail... /usr/lib/sendmail updating cache ./config.cache creating ./config.status creating Makefile creating ircbug creating include/Makefile creating source/Makefile creating include/defs.h well there we are, you now might want to look in include/config.h and see if there is anything you might want to tune, else you can just run a make here.. good luck! What does it mean that: "configure: warning: i can not find tgetent. you might need to help me"? I' ve checked include/config.h and it was ok. When I ran "make", I got: make[1]: Entering directory `/usr/src/ircii-4.4/source' gcc -g -O2 -DHAVE_CONFIG_H -I../include -c alias.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c crypt.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c ctcp.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c dcc.c dcc.c: In function `process_incoming_listen': dcc.c:1242: warning: passing arg 1 of `dcc_searchlist' discards `const' from pointer target type gcc -g -O2 -DHAVE_CONFIG_H -I../include -c debug.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c edit.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c exec.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c flood.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c funny.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -DDEFAULT_HELP_PATH=\"/usr/lib/irc/help\" -c help.c help.c: In function `help_me': help.c:616: warning: passing arg 3 of `scandir' from incompatible pointer type help.c:616: warning: passing arg 4 of `scandir' from incompatible pointer type gcc -g -O2 -DHAVE_CONFIG_H -I../include -c history.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c hold.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c hook.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c if.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c ignore.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c input.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -DIRCLIB=\"/usr/lib/irc/\" -DIRCPATH=\"~/.irc:/usr/lib/irc/script:.\" -c irc.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c ircaux.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c ircsig.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c keys.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c lastlog.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c list.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c log.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c mail.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c menu.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c names.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c newio.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c notice.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c notify.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c numbers.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c output.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c parse.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c queue.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c reg.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c scandir.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -DWSERV_PATH=\"/usr/bin/wserv\" -c screen.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -DIRCIO_PATH=\"/usr/bin/ircio\" -c server.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c stack.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c status.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c term.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -DTRANSLATION_PATH=\"/usr/lib/irc/translation/\" -c translat.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -DDEFAULT_HELP_PATH=\"/usr/lib/irc/help\" -c vars.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c whois.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c window.c gcc -g -O2 -DHAVE_CONFIG_H -o irc alias.o crypt.o ctcp.o dcc.o debug.o edit.o exec.o flood.o funny.o help.o history.o hold.o hook.o if.o ignore.o input.o irc.o ircaux.o ircsig.o keys.o lastlog.o list.o log.o mail.o menu.o names.o newio.o notice.o notify.o numbers.o output.o parse.o queue.o reg.o scandir.o screen.o server.o stack.o status.o term.o translat.o vars.o whois.o window.o edit.o: In function `command_completion': /usr/src/ircii-4.4/source/edit.c:2264: undefined reference to `tputs' edit.o: In function `edit_char': /usr/src/ircii-4.4/source/edit.c:3186: undefined reference to `tputs' edit.o: In function `beepcmd': /usr/src/ircii-4.4/source/edit.c:3719: undefined reference to `tputs' input.o: In function `cursor_to_input': /usr/src/ircii-4.4/source/input.c:66: undefined reference to `tgoto' /usr/src/ircii-4.4/source/input.c:66: undefined reference to `tputs' input.o: In function `update_input': /usr/src/ircii-4.4/source/input.c:182: undefined reference to `tgoto' /usr/src/ircii-4.4/source/input.c:182: undefined reference to `tputs' /usr/src/ircii-4.4/source/input.c:207: undefined reference to `tgoto' /usr/src/ircii-4.4/source/input.c:207: undefined reference to `tputs' /usr/src/ircii-4.4/source/input.c:220: undefined reference to `tgoto' /usr/src/ircii-4.4/source/input.c:220: undefined reference to `tputs' input.o: In function `input_move_cursor': /usr/src/ircii-4.4/source/input.c:290: undefined reference to `tgoto' /usr/src/ircii-4.4/source/input.c:290: undefined reference to `tputs' input.o: In function `input_delete_character': /usr/src/ircii-4.4/source/input.c:378: undefined reference to `tgoto' /usr/src/ircii-4.4/source/input.c:378: undefined reference to `tputs' /usr/src/ircii-4.4/source/input.c:380: undefined reference to `tgoto' /usr/src/ircii-4.4/source/input.c:380: undefined reference to `tputs' input.o: In function `input_backspace': /usr/src/ircii-4.4/source/input.c:411: undefined reference to `tgoto' /usr/src/ircii-4.4/source/input.c:411: undefined reference to `tputs' /usr/src/ircii-4.4/source/input.c:424: undefined reference to `tgoto' /usr/src/ircii-4.4/source/input.c:424: undefined reference to `tputs' /usr/src/ircii-4.4/source/input.c:434: undefined reference to `tgoto' /usr/src/ircii-4.4/source/input.c:434: undefined reference to `tputs' input.o: In function `input_clear_to_eol': /usr/src/ircii-4.4/source/input.c:649: undefined reference to `tgoto' /usr/src/ircii-4.4/source/input.c:649: undefined reference to `tputs' input.o: In function `input_clear_to_bol': /usr/src/ircii-4.4/source/input.c:677: undefined reference to `tgoto' /usr/src/ircii-4.4/source/input.c:677: undefined reference to `tputs' /usr/src/ircii-4.4/source/input.c:681: undefined reference to `tgoto' /usr/src/ircii-4.4/source/input.c:681: undefined reference to `tputs' input.o: In function `input_clear_line': /usr/src/ircii-4.4/source/input.c:702: undefined reference to `tgoto' /usr/src/ircii-4.4/source/input.c:702: undefined reference to `tputs' /usr/src/ircii-4.4/source/input.c:706: undefined reference to `tgoto' /usr/src/ircii-4.4/source/input.c:706: undefined reference to `tputs' input.o: In function `input_transpose_characters': /usr/src/ircii-4.4/source/input.c:744: undefined reference to `tgoto' /usr/src/ircii-4.4/source/input.c:744: undefined reference to `tputs' /usr/src/ircii-4.4/source/input.c:748: undefined reference to `tgoto' /usr/src/ircii-4.4/source/input.c:748: undefined reference to `tputs' irc.o: In function `irc_exit': /usr/src/ircii-4.4/source/irc.c:203: undefined reference to `tputs' menu.o: In function `ShowMenuByWindow': /usr/src/ircii-4.4/source/menu.c:218: undefined reference to `tgoto' /usr/src/ircii-4.4/source/menu.c:218: undefined reference to `tputs' /usr/src/ircii-4.4/source/menu.c:228: undefined reference to `tputs' /usr/src/ircii-4.4/source/menu.c:229: undefined reference to `tgoto' /usr/src/ircii-4.4/source/menu.c:229: undefined reference to `tputs' /usr/src/ircii-4.4/source/menu.c:236: undefined reference to `tputs' output.o: In function `refresh_screen': /usr/src/ircii-4.4/source/output.c:52: undefined reference to `tputs' output.o: In function `init_screen': /usr/src/ircii-4.4/source/output.c:66: undefined reference to `tputs' /usr/src/ircii-4.4/source/output.c:72: undefined reference to `tgoto' /usr/src/ircii-4.4/source/output.c:72: undefined reference to `tputs' parse.o: In function `beep_em': /usr/src/ircii-4.4/source/parse.c:191: undefined reference to `tputs' screen.o: In function `scroll_window': /usr/src/ircii-4.4/source/screen.c:302: undefined reference to `tgoto' /usr/src/ircii-4.4/source/screen.c:302: undefined reference to `tputs' /usr/src/ircii-4.4/source/screen.c:305: undefined reference to `tputs' /usr/src/ircii-4.4/source/screen.c:306: undefined reference to `tputs' /usr/src/ircii-4.4/source/screen.c:309: undefined reference to `tputs' /usr/src/ircii-4.4/source/screen.c:310: undefined reference to `tputs' /usr/src/ircii-4.4/source/screen.c:329: undefined reference to `tgoto' /usr/src/ircii-4.4/source/screen.c:329: undefined reference to `tputs' /usr/src/ircii-4.4/source/screen.c:334: undefined reference to `tputs' /usr/src/ircii-4.4/source/screen.c:335: undefined reference to `tputs' /usr/src/ircii-4.4/source/screen.c:342: undefined reference to `tputs' screen.o: In function `display_highlight': /usr/src/ircii-4.4/source/screen.c:375: undefined reference to `tputs' screen.o:/usr/src/ircii-4.4/source/screen.c:382: more undefined references to `tputs' follow screen.o: In function `rite': /usr/src/ircii-4.4/source/screen.c:642: undefined reference to `tgoto' /usr/src/ircii-4.4/source/screen.c:642: undefined reference to `tputs' /usr/src/ircii-4.4/source/screen.c:700: undefined reference to `tputs' /usr/src/ircii-4.4/source/screen.c:701: undefined reference to `tputs' screen.o: In function `clear_window': /usr/src/ircii-4.4/source/screen.c:943: undefined reference to `tgoto' /usr/src/ircii-4.4/source/screen.c:943: undefined reference to `tputs' /usr/src/ircii-4.4/source/screen.c:949: undefined reference to `tputs' screen.o: In function `redraw_window': /usr/src/ircii-4.4/source/screen.c:1010: undefined reference to `tgoto' /usr/src/ircii-4.4/source/screen.c:1010: undefined reference to `tputs' /usr/src/ircii-4.4/source/screen.c:1028: undefined reference to `tputs' screen.o: In function `display_lastlog_lines': /usr/src/ircii-4.4/source/screen.c:1956: undefined reference to `tgoto' /usr/src/ircii-4.4/source/screen.c:1956: undefined reference to `tputs' screen.o: In function `scrollback_backwards_lines': /usr/src/ircii-4.4/source/screen.c:1972: undefined reference to `tputs' screen.o: In function `scrollback_forwards_lines': /usr/src/ircii-4.4/source/screen.c:2002: undefined reference to `tputs' screen.o: In function `scrollback_end': /usr/src/ircii-4.4/source/screen.c:2077: undefined reference to `tputs' screen.o: In function `scrollback_start': /usr/src/ircii-4.4/source/screen.c:2114: undefined reference to `tputs' status.o:/usr/src/ircii-4.4/source/status.c:105: more undefined references to `tputs' follow status.o: In function `make_status': /usr/src/ircii-4.4/source/status.c:750: undefined reference to `tgoto' /usr/src/ircii-4.4/source/status.c:750: undefined reference to `tputs' term.o: In function `term_putchar': /usr/src/ircii-4.4/source/term.c:222: undefined reference to `tputs' /usr/src/ircii-4.4/source/term.c:229: undefined reference to `tputs' /usr/src/ircii-4.4/source/term.c:232: undefined reference to `tputs' term.o: In function `term_reset': /usr/src/ircii-4.4/source/term.c:297: undefined reference to `tgoto' /usr/src/ircii-4.4/source/term.c:297: undefined reference to `tputs' /usr/src/ircii-4.4/source/term.c:298: undefined reference to `tgoto' /usr/src/ircii-4.4/source/term.c:298: undefined reference to `tputs' term.o: In function `term_init': /usr/src/ircii-4.4/source/term.c:382: undefined reference to `tgetent' /usr/src/ircii-4.4/source/term.c:389: undefined reference to `tgetnum' /usr/src/ircii-4.4/source/term.c:391: undefined reference to `tgetnum' /usr/src/ircii-4.4/source/term.c:399: undefined reference to `tgetnum' /usr/src/ircii-4.4/source/term.c:400: undefined reference to `tgetstr' /usr/src/ircii-4.4/source/term.c:401: undefined reference to `tgetstr' /usr/src/ircii-4.4/source/term.c:408: undefined reference to `tgetstr' /usr/src/ircii-4.4/source/term.c:410: undefined reference to `tgetstr' /usr/src/ircii-4.4/source/term.c:413: undefined reference to `tgetstr' term.o:/usr/src/ircii-4.4/source/term.c:420: more undefined references to `tgetstr' follow term.o: In function `term_init': /usr/src/ircii-4.4/source/term.c:428: undefined reference to `tgetflag' /usr/src/ircii-4.4/source/term.c:433: undefined reference to `tgetstr' /usr/src/ircii-4.4/source/term.c:434: undefined reference to `tgetstr' /usr/src/ircii-4.4/source/term.c:436: undefined reference to `tgetstr' /usr/src/ircii-4.4/source/term.c:438: undefined reference to `tgetstr' /usr/src/ircii-4.4/source/term.c:438: undefined reference to `tgetstr' term.o:/usr/src/ircii-4.4/source/term.c:440: more undefined references to `tgetstr' follow term.o: In function `term_CE_clear_to_eol': /usr/src/ircii-4.4/source/term.c:631: undefined reference to `tputs' term.o: In function `term_CS_scroll': /usr/src/ircii-4.4/source/term.c:677: undefined reference to `tgoto' /usr/src/ircii-4.4/source/term.c:677: undefined reference to `tputs' /usr/src/ircii-4.4/source/term.c:680: undefined reference to `tgoto' /usr/src/ircii-4.4/source/term.c:680: undefined reference to `tputs' /usr/src/ircii-4.4/source/term.c:684: undefined reference to `tgoto' /usr/src/ircii-4.4/source/term.c:684: undefined reference to `tputs' /usr/src/ircii-4.4/source/term.c:686: undefined reference to `tputs' /usr/src/ircii-4.4/source/term.c:687: undefined reference to `tgoto' /usr/src/ircii-4.4/source/term.c:687: undefined reference to `tputs' term.o: In function `term_ALDL_scroll': /usr/src/ircii-4.4/source/term.c:705: undefined reference to `tgoto' /usr/src/ircii-4.4/source/term.c:705: undefined reference to `tputs' /usr/src/ircii-4.4/source/term.c:707: undefined reference to `tputs' /usr/src/ircii-4.4/source/term.c:708: undefined reference to `tgoto' /usr/src/ircii-4.4/source/term.c:708: undefined reference to `tputs' /usr/src/ircii-4.4/source/term.c:710: undefined reference to `tputs' /usr/src/ircii-4.4/source/term.c:715: undefined reference to `tgoto' /usr/src/ircii-4.4/source/term.c:715: undefined reference to `tputs' /usr/src/ircii-4.4/source/term.c:717: undefined reference to `tputs' /usr/src/ircii-4.4/source/term.c:718: undefined reference to `tgoto' /usr/src/ircii-4.4/source/term.c:718: undefined reference to `tputs' /usr/src/ircii-4.4/source/term.c:720: undefined reference to `tputs' term.o: In function `term_param_ALDL_scroll': /usr/src/ircii-4.4/source/term.c:736: undefined reference to `tgoto' /usr/src/ircii-4.4/source/term.c:736: undefined reference to `tputs' /usr/src/ircii-4.4/source/term.c:737: undefined reference to `tgoto' /usr/src/ircii-4.4/source/term.c:737: undefined reference to `tputs' /usr/src/ircii-4.4/source/term.c:744: undefined reference to `tgoto' /usr/src/ircii-4.4/source/term.c:744: undefined reference to `tputs' /usr/src/ircii-4.4/source/term.c:745: undefined reference to `tgoto' /usr/src/ircii-4.4/source/term.c:745: undefined reference to `tputs' /usr/src/ircii-4.4/source/term.c:746: undefined reference to `tgoto' /usr/src/ircii-4.4/source/term.c:746: undefined reference to `tputs' /usr/src/ircii-4.4/source/term.c:747: undefined reference to `tgoto' /usr/src/ircii-4.4/source/term.c:747: undefined reference to `tputs' term.o: In function `term_IC_insert': /usr/src/ircii-4.4/source/term.c:764: undefined reference to `tputs' term.o: In function `term_IMEI_insert': /usr/src/ircii-4.4/source/term.c:781: undefined reference to `tputs' /usr/src/ircii-4.4/source/term.c:783: undefined reference to `tputs' term.o: In function `term_DC_delete': /usr/src/ircii-4.4/source/term.c:794: undefined reference to `tputs' term.o:/usr/src/ircii-4.4/source/term.c:802: more undefined references to `tputs' follow make[1]: *** [irc] Error 1 make[1]: Leaving directory `/usr/src/ircii-4.4/source' make: *** [irc] Error 2 What can I do to compile ircII 4.4 successfully? Thanks for your help. Bye. -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
![](https://seccdn.libravatar.org/avatar/1327b4743318d1fcbf2b6141fb8f64f7.jpg?s=120&d=mm&r=g)
Hello there, Compiling on unix can be tricky. You often have to a bit of investigation and guesswork. I don't have the full answer, but I'll show you what i've done so far. This mail is perhaps overly long and overly dtailed, but the idea is to give a bit of the flavor of how to solve these problems, as you WILL have to solve them if you choose to download and compile source from the internet. A little understanding of how to use the troubleshooting tools combined with an inlking of the compilation process will get you through 950f your problems.
I' m trying to compile ircII 4.4 under Linux Suse 5.1. After uncompression I exectuted: ./configure --prefix=/usr --exec-prefix=/usr
and I got:
creating cache ./config.cache this is ircii version 4.4
[...] checking for tgetent in -lxtermcap... no configure: warning: i can not find tgetent. you might need to help me checking for tputs in curses.h... no [...]
What does it mean that: "configure: warning: i can not find tgetent. you might need to help me"?
The first thing you should wonder is what 'tgetent' is. Some good things to try woudl be 'locate tgetent' or 'man tgetent' or even 'man -k tgetent'. Here is what man tgetent gave me: NAME tgetent, tgetflag, tgetnum, tgetstr, tgoto, tputs - direct curses interface to the terminfo capability database [...] It seems this is a routine which gives curses applications access to terminfo, a system for properly formatting output to the screen (see man terminfo). Further, notice that the error follows a test for -lxtermcap. What I did at this point was used 'locate termcap' to see if I could figure out what it was looking for. (If you did not know the -l syntax is a way of requesting to the compiler you wish a particular library to be included.) Suspicious because of an earlier error I encountered with Vim5 which seems related, i rechecked the output from locate libtermcap. /usr/i486-linuxaout/lib/libtermcap.a /usr/i486-linuxaout/lib/libtermcap.sa /usr/lib/libtermcap.so.2 /usr/lib/libtermcap.so.2.0.8 /usr/lib/termcap/libtermcap.a /usr/lib/termcap/libtermcap.so /usr/lib is the "normal" place for libraries. (see the Linux System Administrator's Guide 0.6 for more detail on file locations <A HREF="http://www.linuxhq.com/guides/SAG/sag.html"><A HREF="http://www.linuxhq.com/guides/SAG/sag.html</A">http://www.linuxhq.com/guides/SAG/sag.html it's very good reading.) Because of the earlier problem with vim, I am suspicious that gnu's current version of autoconf is not generating 'configure' scripts that can find libraries in /usr/lib/termcap. I suggest trying the command 'ln -s /usr/lib/termcap/libtermcap.so /usr/lib/libtermcap.so' and then trying the configure/build again. It is inelegant to have symlinks floating around everywhere, but as I don't have the package, it's something I know will address the (guesssed) issue.
I' ve checked include/config.h and it was ok. When I ran "make", I got:
make[1]: Entering directory `/usr/src/ircii-4.4/source' [...] gcc -g -O2 -DHAVE_CONFIG_H -I../include -c whois.c gcc -g -O2 -DHAVE_CONFIG_H -I../include -c window.c gcc -g -O2 -DHAVE_CONFIG_H -o irc alias.o crypt.o ctcp.o dcc.o debug.o edit.o exec.o flood.o funny.o help.o history.o hold.o hook.o if.o ignore.o input.o irc.o ircaux.o ircsig.o keys.o lastlog.o list.o log.o mail.o menu.o names.o newio.o notice.o notify.o numbers.o output.o parse.o queue.o reg.o scandir.o screen.o server.o stack.o status.o term.o translat.o vars.o whois.o window.o edit.o: In function `command_completion': /usr/src/ircii-4.4/source/edit.c:2264: undefined reference to `tputs' edit.o: In function `edit_char': /usr/src/ircii-4.4/source/edit.c:3186: undefined reference to `tputs' [...]
Again, with a bit of understanding of what make is doing, this points to the same error. First we see make kicking off many copies of 'gcc' which is compiling source code into binary. Then at the end, we see a great number of binary object files (.o) passesd into the compiler. During this final link, a compiler is going to try to figure out all the libraries the program is using to link them in. Obviously, it isn't successful this time. It can't find the symbol (in this case a system call) 'tputs'. Again 'man tputs' gives us the same manpage. Definitely, this library is missing. If you want to get really fancy, you can use the command nm to see what's inside a library: jrodman@skaro:/usr/lib/termcap > nm libtermcap.a |grep tputs 00000e00 T tputs 00000004 C tputs_baud_rate yes, this is the one we want.
What can I do to compile ircII 4.4 successfully?
Try the above suggestion, see what it does. ie. 'ln -s /usr/lib/termcap/libtermcap.so /usr/lib/libtermcap.so' then re-configure, and re-make -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (2)
-
jrodman@skaro.nightcrawler.com
-
suse@wavenet.it