List Info

Thread: Re: Asterisk-1.4.2 /usr/bin/ld: skipping incompatible /usr/lib/gcc/i386-redhat-linux/




Re: Asterisk-1.4.2 /usr/bin/ld: skipping incompatible /usr/lib/gcc/i386-redhat-linux/
user name
2008-02-27 07:56:54
Sathishkrishna P wrote:
> Dear Friends,
>     I am new to asterisk... I am trying to install
asterisk-1.4.2 in my 
> linux Redhat EL4. I am getting the following error. Plz
help me to solve 
> the problem....
> 
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> [LD] abstract_jb.o acl.o aescrypt.o aeskey.o aestab.o
alaw.o app.o 
> ast_expr2.o ast_expr2f.o asterisk.o astmm.o
autoservice.o callerid.o 
> cdr.o channel.o chanvars.o cli.o config.o cryptostub.o
db.o 
> devicestate.o dial.o dns.o dnsmgr.o dsp.o enum.o file.o
fixedjitterbuf.o 
> frame.o fskmodem.o http.o image.o indications.o io.o
jitterbuf.o 
> loader.o logger.o manager.o md5.o netsock.o pbx.o plc.o
privacy.o rtp.o 
> say.o sched.o sha1.o slinfactory.o srv.o
stdtime/localtime.o strcompat.o 
> tdd.o term.o threadstorage.o translate.o udptl.o ulaw.o
utils.o 
> editline/libedit.a db1-ast/libdb1.a -> asterisk
> /usr/bin/ld: skipping incompatible 
>
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../liberror.so
when searching 
> for -lerror
> /usr/bin/ld: skipping incompatible /lib/liberror.so
when searching for 
> -lerror
> /usr/bin/ld: skipping incompatible /usr/lib/liberror.so
when searching 
> for -lerror
> /usr/bin/ld: cannot find -lerror
> collect2: ld returned 1 exit status
> make[1]: *** [asterisk] Error 1
> make: *** [main] Error 2
> 
> 
> 
> 
> 
> 
> Regards
> Sathishkrishna.P
> 

You may be running x86_64, and therefore need
/usr/lib64/liberror.so. 
Look for an x86_64 liberror-devel rpm package.

BTW, when posting, don't start a thread by replying to an
existing one. 
You're "stealing" the existing thread.

sean


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.c
om--

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )