Problemy s kompilaci

Tomas Lada Lada na bitservis.cz
Čtvrtek Leden 17 14:40:57 CET 2002


Dobry den
diky za odpoved, ale pomohla vsak jen castecne.....
Po doinstalovani kernel-headers jsem pri kompilaci dostal vypis:

ssh.c: In function `main':
ssh.c:418: storage size of `ws' isn't known
ssh.c:903: `TIOCGWINSZ' undeclared (first use this function)
ssh.c:903: (Each undeclared identifier is reported only once
ssh.c:903: for each function it appears in.)
make: *** [ssh.o] Error 1

Nevite what's wrong?
S pozdravem
                     Tomas Lada



                                                                                                                
                    Michal Krause                                                                               
                    <michal na kraus        Komu:      linux na linux.cz                                              
                    e.cz>                Kopie:                                                                 
                                         Předmět:        Re: Problemy s kompilaci                               
                    17.01.2002                                                                                  
                    13:12                                                                                       
                    Odpovězte                                                                                   
                    prosím                                                                                      
                    uživateli                                                                                   
                    linux                                                                                       
                                                                                                                
                                                                                                                



On 17/01/2002, Tomas Lada wrote:

> rad bych se zeptal jestli mel nekdo podobny problem s kompilaci.
> Snazim se zkompilovat ssh a dostanu nasledujici vypis.
> Mam system RH 5.2 s glibc-debug-2.0.7-29.4
>                glibc-2.0.7-29
>                glibc-devel-2.0.7-29
> Vypis z kompilace:
>
> In file included from /usr/include/errno.h:36,
>                  from includes.h:167,
>                  from ssh.c:199:
> /usr/include/errnos.h:24: linux/errno.h: No such file or directory
> In file included from /usr/include/signal.h:268,
>                  from includes.h:170,
>                  from ssh.c:199:
> /usr/include/sigcontext.h:26: asm/sigcontext.h: No such file or directory
> In file included from /usr/include/sys/socket.h:34,
>                  from includes.h:219,
>                  from ssh.c:199:
> /usr/include/socketbits.h:231: asm/socket.h: No such file or directory
> In file included from includes.h:170,
>                  from ssh.c:199:
[snip]

Chybi Vam hlavickove soubory z jadra. Resenim je bud nainstalovat
balicek kernel-headers a nebo udelat patricne symlinky do zdrojaku jadra
(/usr/include/linux, /usr/include/asm).

S pozdravem
--
Michal Krause                                                       /\
                        Informace (nejenom) ze sveta Linuxu      /\/  \
email: michal na krause.cz _______ http://www.root.cz/ _______ NAVRCHOLU.cz









Další informace o konferenci Linux