[Clfs-support] clibc-embedded uclibc0.9.29 build problems

b-vol bvl at btconnect.com
Mon Nov 3 08:14:23 PST 2008


Greetings.

I am trying to compile uclibc-0.9.29 for the latest  clfs-embeded.  I seem to 
be at a roadblock with the $BUILD environment variable.  Please see my eforts 
below:-


######## running   make CC="${CC} ${BUILD}" ############
If I use the BUILD settings in the clfs book   namely:-
clfs:/mnt/clfs/sourcesCLFS08emb/uClibc-0.9.29$ export  BUILD=-mabi=32
clfs:/mnt/clfs/sourcesCLFS08emb/uClibc-0.9.29$ echo $BUILD
-mabi=32
clfs:/mnt/clfs/sourcesCLFS08emb/uClibc-0.9.29$

when I do  make CC="${CC} ${BUILD}"

I keep getting this line
/bin/sh: -=: invalid option
.....
and this 
Shell options:
        -irsD or -c command or -O shopt_option          (invocation only)
        -abefhkmnptuvxBCHP or -o option
extra/scripts/gen_bits_syscall_h.sh: line 26: -mabi=32: command not found
extra/scripts/gen_bits_syscall_h.sh: line 30: -mabi=32: command not found

####### if I   try changing $BUILD as follows:-

clfs:/mnt/clfs/sourcesCLFS08emb/uClibc-0.9.29$ export  BUILD=-mcpu=cortex-a8
clfs:/mnt/clfs/sourcesCLFS08emb/uClibc-0.9.29$ echo $BUILD
-mcpu=cortex-a8
clfs:/mnt/clfs/sourcesCLFS08emb/uClibc-0.9.29$ make CC="${CC} ${BUILD}"

and  then do:- make CC="${CC} ${BUILD}"
....I now get .....  
/bin/sh: -=: invalid option
and
/bin/sh: -mcpu=cortex-a8: command not found

#######if i remove the '-' sign I still get

/bin/sh: -mcpu=cortex-a8: command not found
/bin/sh: -c: command not found
make: *** [ldso/ldso/ldso.oS] Error 127


help would be appreciated


yours sincerely
b-vol



###################################
“Common sense teaches that booksellers should not speculate in hops, 
or bankers in turpentine; that railways should not be promoted by maiden 
ladies, or canals by beneficed clergymen ....”
Walter Bagehot-economist: 1826-1877 



More information about the Clfs-support mailing list