ncurses

Zibi zibi w dolsat.pl
Pią, 20 Cze 2003, 20:17:43 CEST


On Fri, 20 Jun 2003 19:38:19 +0200 (CEST)
Andrzej Szombierski <qq w kuku.eu.org> wrote:jaba daba duuu

> On Fri, 20 Jun 2003, Zibi wrote:
> 
> > 
> > Dobry,
> > 
> > 
> > Compiling LANChat please be patient with gcc
> > gcc  lc_main.c lc_funcs.c -o LANChat -lcurses  
> > In file included from lc_main.c:17:
> > lanchat.h:4: ncurses.h: Nie ma takiego pliku ani katalogu
> > lc_main.c:18: curses.h: Nie ma takiego pliku ani katalogu
> > In file included from lc_funcs.c:16:
> > lanchat.h:4: ncurses.h: Nie ma takiego pliku ani katalogu
> > lc_funcs.c:17: curses.h: Nie ma takiego pliku ani katalogu
> > make: *** [all] Błąd 1
> > 
> > posiadam: ncurses-5.2-34, ncurses-devel-5.2-34, ncurses-static-5.2-34
> > 
> > co jest nie tak ?
> > 
> 
> 1. czytaj archiwum - problem pojawiał się już parę razy
> 2. może to do jakiegoś faq dorzucić?
> 3. rozwiązanie:
> albo: cd /usr/include; ln -s ncurses/* .
> albo: w makefile dopisać -I/usr/include/ncurses
> 
> -- 
> : Andrzej Szombierski : anszom w v-lo.krakow.pl : qq w kuku.eu.org :
> : anszom w bezkitu.com ::: radio bez kitu <=> http://bezkitu.com :
> 
dzięki, pomogło... ale pojawił się kolejny problem:

Compiling LANChat please be patient with gcc
gcc  lc_main.c lc_funcs.c -o LANChat -lcurses  
In file included from lc_main.c:24:
/usr/include/signal.h:310: warning: `struct sigcontext' declared inside parameter list
/usr/include/signal.h:310: warning: its scope is only this definition or declaration, which is probably not what you want.
lc_main.c: In function `main':
lc_main.c:125: `SOL_SOCKET' undeclared (first use in this function)
lc_main.c:125: (Each undeclared identifier is reported only once
lc_main.c:125: for each function it appears in.)
lc_main.c:125: `SO_BROADCAST' undeclared (first use in this function)
lc_main.c:127: `SO_SNDBUF' undeclared (first use in this function)
lc_main.c:143: `SO_RCVBUF' undeclared (first use in this function)
In file included from lc_funcs.c:23:
/usr/include/signal.h:310: warning: `struct sigcontext' declared inside parameter list
/usr/include/signal.h:310: warning: its scope is only this definition or declaration, which is probably not what you want.
make: *** [all] Błąd 1




Więcej informacji o liście dyskusyjnej pld-users-pl