pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/29425: package games/netmaj fails build



The following reply was made to PR pkg/29425; it has been noted by GNATS.

From: SUNAGAWA Keiki <kei_sun%ba2.so-net.ne.jp@localhost>
To: gnats-bugs%netbsd.org@localhost, almeyers%consult-meyers.com@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/29425: package games/netmaj fails build
Date: Mon, 21 Mar 2005 00:16:23 +0900 (JST)

 Hi,
 
 There are lines as hbelow in netmaj's Makefile.
 
 ----------
 # for linux
 .if (${OPSYS} == "Linux")
 CC=cc
 OS_CFLAGS= -O -DUSE_TERMIOS -DUSE_TERMCAP -DDEF_OPTARG -DHAVE_GETTIMEOFDAY
 RANLIB=ranlib
 LIBS = 
 CURSES= lib/libcurses.a -ltermcap
 LDFLAGS =  -Llib 
 .endif
 ----------
 
 "client" is linked to /usr/lib/libtermcap.so.0 in NetBSD.
 What is the corresponding library in Mandrake Linux?
 
 
 > >Release:        latest cvs pkgsrc bootstrapped to Mandrake Linux 10.1 i386
 > >Organization:
 > >Environment:
 > Linux localhost.localdomain 2.6.8.1-12mdk #1 Fri Oct 1 12:53:41 CEST 2004 
 > i686 AMD Athlon(tm) XP 2800+ unknown GNU/Linux
 > >Description:
 > cc -I. -Ilib -DNETMAJ_LIB=\"/usr/pkg/lib/netmaj\" -O -DUSE_TERMIOS 
 > -DUSE_TERMCAP -DDEF_OPTARG -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c cui.c
 > cui.c:181: warning: built-in function 'log' declared as non-function
 > cc -o client client.o cui.o libnetmaj.a -Llib  lib/libcurses.a -ltermcap
 > /usr/bin/ld: cannot find -ltermcap
 > collect2: ld returned 1 exit status
 > *** Error code 1
 > 
 > Stop.
 
 --
 SUNAGAWA Keiki <kei_sun%ba2.so-net.ne.jp@localhost>
 



Home | Main Index | Thread Index | Old Index