linux-mips
[Top] [All Lists]

Re: Cygwin Cross-compile of linux release

To: Kyle Unice <unixe@comcast.net>
Subject: Re: Cygwin Cross-compile of linux release
From: Ralf Baechle <ralf@linux-mips.org>
Date: Fri, 7 Oct 2005 16:44:00 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <001901c5cb54$8dfc70f0$0400a8c0@buzz>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <001901c5cb54$8dfc70f0$0400a8c0@buzz>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.1i
On Fri, Oct 07, 2005 at 09:34:05AM -0600, Kyle Unice wrote:

> I checked out the source for mips linux and tried cross-compiling this on
> cygwin.  
> This is the result:
>   HOSTCC  scripts/mod/modpost.o
>   HOSTCC  scripts/mod/sumversion.o
> scripts/mod/sumversion.c: In function `md4_final_ascii':
> scripts/mod/sumversion.c:221: warning: unsigned int format, long unsigned
> int ar
> g (arg 4)
> scripts/mod/sumversion.c:221: warning: unsigned int format, long unsigned
> int ar
> g (arg 5)
> scripts/mod/sumversion.c:221: warning: unsigned int format, long unsigned
> int ar
> g (arg 6)
> scripts/mod/sumversion.c:221: warning: unsigned int format, long unsigned
> int ar
> g (arg 7)
>   HOSTLD  scripts/mod/modpost
>   HOSTCC  scripts/kallsyms
> scripts/kallsyms.c: In function `compress_symbols':
> scripts/kallsyms.c:366: warning: implicit declaration of function `memmem'
> scripts/kallsyms.c:366: warning: assignment makes pointer from integer
> without a
>  cast
> scripts/kallsyms.c:385: warning: assignment makes pointer from integer
> without a
>  cast
> /cygdrive/c/DOCUME~1/KYLE~1.BUZ/LOCALS~1/Temp/ccLMGC3l.o:kallsyms.c:(.text+0
> x6cb
> ): undefined reference to `_memmem'
> /cygdrive/c/DOCUME~1/KYLE~1.BUZ/LOCALS~1/Temp/ccLMGC3l.o:kallsyms.c:(.text+0
> x72d
> ): undefined reference to `_memmem'

_memmem must be some symbol of the Cygwin libraries.

Honestly, get rid of Cygwin.  You'll be glad you did, the birds will
fly, the butterflies will be singing ...

  Ralf

<Prev in Thread] Current Thread [Next in Thread>