Skip to contentSkip to conversation

Cygwin Cross-compile of linux release

DISCUSSION Kyle Unice 3 participants 3 messages Oct 7, 2005 MIPS

lore
Share & tools
lore

Kyle Unice

author
#0 lore raw

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'
collect2: ld returned 1 exit status
make[1]: *** [scripts/kallsyms] Error 1
make: *** [scripts] Error 2

Kyle@buzz /usr/src/linux
$

#1 lore raw
Quoted 26 lines · Kyle Unice

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

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

#2 lore raw
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