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

Re: error whil compiling



Ben-Nes Michael wrote:

> Hi All
>
> got this while trying to compile ssh and got very similar error while
> trying to comile MySQL.
> Any ideas ?

I think you have a problem with some links:

1. /usr/include/asm must point (ln -s) to /usr/src/linux/include/asm which
in turn must point to the asm-{your-arch} in /usr/src/linux/include/

2. /usr/include/linux must point to /usr/src/linux/include/linux


hope this help,
-- Meir


>
>
> In file included from /usr/include/errno.h:36,
>                  from includes.h:163,
>                  from ssh.c:195:
> /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
> In file included from /usr/include/signal.h:294,
>                  from includes.h:166,
>                  from ssh.c:195:
> /usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or
> directory
> In file included from /usr/include/sys/socket.h:34,
>                  from includes.h:215,
>                  from ssh.c:195:
> /usr/include/bits/socket.h:252: asm/socket.h: No such file or directory
> In file included from includes.h:166,
>                  from ssh.c:195:
> /usr/include/signal.h:297: warning: `struct sigcontext' declared inside
> parameter list
> /usr/include/signal.h:297: warning: its scope is only this definition or
>
> declaration,
> /usr/include/signal.h:297: warning: which is probably not what you want.
>
> --
> --------------------------
> Canaan Surfing Ltd.
> Internet Service Providers
> Ben-Nes Michael - Manager
> Tel: 972-6-6925757
> Fax: 972-6-6925858
> http://www.canaan.co.il
> --------------------------
>
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il