Subject:
cross-compiling microwin-89pre8 with hardhat
From:
"HU Xiang-Hua" ####@####.####
Date:
24 Feb 2002 02:03:39 -0000
Message-Id: <F34yRSGfM7QugGlyAs600014b3c@hotmail.com>
when cross-compiling microwin-89pre8 with hardhat cross-compilier
enviroment for mipsel, I got the following errors(too many!) in attached
file.
what 's the matter?
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:
http://messenger.microsoft.com/cn
Compiling scr_fb.c ...
In file included from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:19,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/sched.h:18,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/mm.h:4,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/pagemap.h:10,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/io.h:15,
from scr_fb.c:24:
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/wait.h:4:
warning: `WNOHANG' redefined
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/bits/waitflags.h:26:
warning: this is the location of the previous definition
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/wait.h:5:
warning: `WUNTRACED' redefined
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/bits/waitflags.h:27:
warning: this is the location of the previous definition
In file included from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/sched.h:78,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/mm.h:4,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/pagemap.h:10,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/io.h:15,
from scr_fb.c:24:
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/time.h:108:
warning: `FD_SET' redefined
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/sys/select.h:83:
warning: this is the location of the previous definition
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/time.h:109:
warning: `FD_CLR' redefined
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/sys/select.h:84:
warning: this is the location of the previous definition
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/time.h:110:
warning: `FD_ISSET' redefined
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/sys/select.h:85:
warning: this is the location of the previous definition
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/time.h:111:
warning: `FD_ZERO' redefined
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/sys/select.h:86:
warning: this is the location of the previous definition
In file included from scr_fb.c:30:
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/sys/time.h:95:
warning: `ITIMER_REAL' redefined
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/time.h:117:
warning: this is the location of the previous definition
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/sys/time.h:98:
warning: `ITIMER_VIRTUAL' redefined
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/time.h:118:
warning: this is the location of the previous definition
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/sys/time.h:102:
warning: `ITIMER_PROF' redefined
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/time.h:119:
warning: this is the location of the previous definition
In file included from scr_fb.c:40:
../atiinclude/atihap.h:8: warning: `PAGE_SIZE' redefined
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/page.h:16:
warning: this is the location of the previous definition
../atiinclude/atihap.h:9: warning: `PAGE_SHIFT' redefined
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/page.h:15:
warning: this is the location of the previous definition
In file included from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/sched.h:18,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/mm.h:4,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/pagemap.h:10,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/io.h:15,
from scr_fb.c:24:
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:30:
parse error before `wait_queue_head_t'
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:30:
warning: no semicolon at end of struct or union
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:34:
warning: empty declaration
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h: In
function `sema_init':
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:64:
warning: implicit declaration of function `atomic_set'
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:64:
dereferencing pointer to incomplete type
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:65:
dereferencing pointer to incomplete type
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:66:
warning: implicit declaration of function `init_waitqueue_head'
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:66:
dereferencing pointer to incomplete type
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h: In
function `down':
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:92:
warning: implicit declaration of function `atomic_dec_return'
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:92:
dereferencing pointer to incomplete type
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h: In
function `down_interruptible':
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:103:
dereferencing pointer to incomplete type
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h: In
function `down_trylock':
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:171:
dereferencing pointer to incomplete type
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h: In
function `up':
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:188:
warning: implicit declaration of function `atomic_inc_return'
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:188:
dereferencing pointer to incomplete type
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h: At
top level:
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:219:
parse error before `wait_queue_head_t'
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:219:
warning: no semicolon at end of struct or union
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:220:
warning: data definition has no type or storage class
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h: In
function `init_rwsem':
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:252:
dereferencing pointer to incomplete type
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:253:
dereferencing pointer to incomplete type
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:254:
dereferencing pointer to incomplete type
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:255:
dereferencing pointer to incomplete type
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h: In
function `down_read':
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:276:
dereferencing pointer to incomplete type
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h: In
function `down_write':
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:299:
warning: implicit declaration of function `atomic_sub_return'
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:299:
dereferencing pointer to incomplete type
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h: In
function `up_read':
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:332:
dereferencing pointer to incomplete type
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h: In
function `up_write':
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:355:
warning: implicit declaration of function `atomic_add_return'
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/semaphore.h:355:
dereferencing pointer to incomplete type
In file included from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/signal.h:4,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/sched.h:26,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/mm.h:4,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/pagemap.h:10,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/io.h:15,
from scr_fb.c:24:
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/signal.h: At
top level:
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/signal.h:21:
conflicting types for `sigset_t'
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/sys/select.h:38:
previous declaration of `sigset_t'
In file included from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/sched.h:78,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/mm.h:4,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/pagemap.h:10,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/io.h:15,
from scr_fb.c:24:
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/time.h:9:
redefinition of `struct timespec'
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/time.h:88:
redefinition of `struct timeval'
In file included from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/sched.h:81,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/mm.h:4,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/pagemap.h:10,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/io.h:15,
from scr_fb.c:24:
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/timer.h:21:
field `list' has incomplete type
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/timer.h: In
function `timer_pending':
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/timer.h:57:
warning: control reaches end of non-void function
In file included from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/sched.h:83,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/mm.h:4,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/linux/pagemap.h:10,
from
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/io.h:15,
from scr_fb.c:24:
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/processor.h: At
top level:
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/processor.h:109:
parse error before `fpureg_t'
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/processor.h:109:
warning: data definition has no type or storage class
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/processor.h:111:
parse error before `fpureg_t'
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/processor.h:111:
warning: no semicolon at end of struct or union
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/processor.h:113:
parse error before `}'
/opt/hardhat/devkit/mips/fp_le/bin/../target/usr/include/asm/processor.h:117:
field `soft' has incomplete type