Menu

#2 probleme compiling ferite for openwrt / mipsel router

open
nobody
None
5
2005-04-14
2005-04-14
Anonymous
No

here is an error compiling ferite in this environnement :

/spare/openwrt/buildroot-2005.03.28/build_mipsel/staging_dir/bin/mipsel-linux-uclibc-gcc
-D_REENTRANT -DUSE_PTHREAD -DTHREAD_SAFE -I. -I.
-I../../.. -I../../../libs/aphex/include
-I../../../include -I/usr/include -I/usr/include -Os
-pipe -mips32 -mtune=mips32 -c poll.c -fPIC -DPIC -o
.libs/poll.lo
poll.c: In function `map_select_results':
poll.c:233: error: impossible constraint in `asm'
poll.c:236: error: impossible constraint in `asm'
poll.c:239: error: impossible constraint in `asm'
{standard input}: Assembler messages:
{standard input}:38: Error: unrecognized opcode `btsl
$3,0($2)'
{standard input}:52: Error: unrecognized opcode `btsl
$3,0($2)'
{standard input}:66: Error: unrecognized opcode `btsl
$3,0($2)'
make[7]: *** [poll.lo] Erreur 1

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I have submited this problem to OpenWrt forum. There is no
    answer now.

    http://www.openwrt.org/forum/viewtopic.php?t=1285

    I have tried version 0.99.5, it has same probleme. I could
    try with an other buildroot struct, but don't have it now.

    sorry for thoses inconveniances ...

     
  • Marc Quinton

    Marc Quinton - 2005-04-15

    Logged In: YES
    user_id=445197

    this problem seems to be a cross-compilation problem, with
    includes in standard location ( -I/usr/include ) and not
    $SDK/...

    this can mainly be corrected by :

    * correcting Makefile.am where we can find : '-I$(includedir)'
    * force INCLUDES variable by this value :

    INCLUDES='-I$(PKG_BUILD_DIR)/libs/aphex/include
    -I$(PKG_BUILD_DIR)/libs/triton/include
    -I$(PKG_BUILD_DIR)/include

    now compilation process can go far away (not terminated) ...

     

Log in to post a comment.

MongoDB Logo MongoDB