ranlib error while compilation for ARM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In rules.mak you should comment :
#	$(AR) $(LIB) $(OBJS)
#	$(RANLIB) $(LIB)
and add this line :
        $(RANLIB) -static -o $(LIB) $(OBJS)

Samuel

> Message du 10/11/08 17:52
> De : "Igor Kokorin"
> A : pjsip at lists.pjsip.org
> Copie ? :
> Objet : [pjsip] ?ranlib error while compilation for ARM
>
> Hello Professionals,
>
> I have an error described below while compilation pjsip for ARM architecture. I read the post about "[pjsip] Cross compiling PJSIP for iPhone ARM on Mac 10.5.5 " but I did not find a solution of this problem. I'm using ranlib from /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ranlib.
>
> arm-apple-darwin9-ar: creating archive ../lib/libpjnath-arm-apple-darwin9.a
> a - output/pjnath-arm-apple-darwin9/errno.o
> a - output/pjnath-arm-apple-darwin9/ice_session.o
> a - output/pjnath-arm-apple-darwin9/ice_strans.o
>  a - output/pjnath-arm-apple-darwin9/nat_detect.o
> a - output/pjnath-arm-apple-darwin9/stun_auth.o
> a - output/pjnath-arm-apple-darwin9/stun_msg.o
> a - output/pjnath-arm-apple-darwin9/stun_msg_dump.o
> a - output/pjnath-arm-apple-darwin9/stun_session.o
>  a - output/pjnath-arm-apple-darwin9/stun_sock.o
> a - output/pjnath-arm-apple-darwin9/stun_transaction.o
> a - output/pjnath-arm-apple-darwin9/turn_session.o
> a - output/pjnath-arm-apple-darwin9/turn_sock.o
> arm-apple-darwin9-ranlib ../lib/libpjnath-arm-apple-darwin9.a
>  arm-apple-darwin9-ranlib: no output file specified (specify with -o output)
> Usage: arm-apple-darwin9-ranlib -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT]
> Usage: arm-apple-darwin9-ranlib -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table ] [-seg_addr_table_filename ] [-all_load] [-noall_load]
>  make[2]: *** [../lib/libpjnath-arm-apple-darwin9.a] Error 1
> make[1]: *** [pjnath] Error 2
> make: *** [all] Error 1
>
>
> Thank you.
>  >
> [ (pas de nom de fichier) (0.2 Ko) ]

 Cr?ez votre adresse ?lectronique prenom.nom at laposte.net 
 1 Go d'espace de stockage, anti-spam et anti-virus int?gr?s.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081111/06994149/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux