Cygwin Cross-compile of linux release
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.oscripts/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/kallsymsscripts/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
castscripts/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'
collect2: ld returned 1 exit status
make[1]: *** [scripts/kallsyms] Error 1
make: *** [scripts] Error 2
Kyle@buzz /usr/src/linux
$
Quoted 26 lines · Kyle Unice
I checked out the source for mips linux and tried cross-compiling this on cygwin.
This is the result:
HOSTCCscripts/mod/modpost.o
HOSTCCscripts/mod/sumversion.oscripts/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)
HOSTLDscripts/mod/modpost
HOSTCCscripts/kallsymsscripts/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
castscripts/kallsyms.c:385: warning: assignment makes pointer from integer
Quoted 8 lines
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
Quoted 2 lines · Ralf Baechle
Honestly, get rid of Cygwin. You'll be glad you did, the birds will fly, the butterflies will be singing ...
And most importantly pigs will do neither!
Maciej