LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Openrisc > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: kobegpfan at yahoo.com<kobegpfan@y...>
    Date: Thu Jul 10 03:04:32 CEST 2008
    Subject: [openrisc] How to make uClibc -- It always fails
    Top
    I refered to several articles here and there. I used uClibc-0.9.28.3 and
    patched it with the 2 files released in meansoffreedom:

    (1) uClibc-0.9.28-or32-libc-support.bz2
    (2) uClibc-0.9.28-or32-unified.bz2.

    And then I run "make menuconfig" to modify something like this

    TARGET_ARCH="or32"
    KERNEL_SOURCE="/orp/tmp/or1k/uclinux/uClinux-2.0.x"
    CROSS="or32-uclinux-"
    RUNTIME_PREFIX="/opt/$(TARGET_ARCH)-uclinux"
    DEVEL_PREFIX="/opt/$(TARGET_ARCH)-uclinux"

    The above setting can be checked in .config file.
    Then I ran the following commands:

    (1)# ln -s extra/Configs/Config.or32.uclinux Config
    (2)# make all install

    But it stops with the following errors:

    make[3]: Entering directory `/orp/tmp/uClibc-0.9.28.3/libc/misc/regex'
    "or32-uclinux-"gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-
    strict-aliasing -fno-builtin -nostdinc -D_LIBC -I../../../include -I. -
    Os -funit-at-a-time -isystem /opt/or32-uclinux/lib/gcc/or32-
    uclinux/3.4.4/include -DNDEBUG -fPIC -c regex.c -o regex.o
    /tmp/cconHoRg.s: Assembler messages:
    /tmp/cconHoRg.s:3837: Error: operation combines symbols in different
    segments
    /tmp/cconHoRg.s:3846: Error: operation combines symbols in different
    segments
    /tmp/cconHoRg.s:3847: Error: operation combines symbols in different
    segments
    /tmp/cconHoRg.s:3848: Error: operation combines symbols in different
    segments
    /tmp/cconHoRg.s:3849: Error: operation combines symbols in different
    segments
    /tmp/cconHoRg.s:3857: Error: operation combines symbols in different
    segments
    /tmp/cconHoRg.s:3863: Error: operation combines symbols in different
    segments
    /tmp/cconHoRg.s:3864: Error: operation combines symbols in different
    segments
    /tmp/cconHoRg.s:3865: Error: operation combines symbols in different
    segments
    /tmp/cconHoRg.s:3866: Error: operation combines symbols in different
    segments
    /tmp/cconHoRg.s:5083: Error: operation combines symbols in different
    segments
    /tmp/cconHoRg.s:5084: Error: operation combines symbols in different
    segments
    make[3]: *** [regex.o] Error 1
    make[3]: Leaving directory `/orp/tmp/uClibc-0.9.28.3/libc/misc/regex'
    make[2]: *** [_dir_regex] Error 2
    make[2]: Leaving directory `/orp/tmp/uClibc-0.9.28.3/libc/misc'
    make[1]: *** [_dir_misc] Error 2
    make[1]: Leaving directory `/orp/tmp/uClibc-0.9.28.3/libc'
    make: *** [_dir_libc] Error 2

    I don't know what's happening and how to fix it. Would you please give
    me a hand?

    Follow upAuthor
    [openrisc] How to make uClibc -- It always failsJeremy Bennett

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.