Building for both i386 and ppc on Intel Mac

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

 



On Tue, Jan 27, 2009 at 11:25 PM, Alexei Kuznetsov <eofster at gmail.com>wrote:

> In order to build for ppc, I had to change one line in build/rules.mak
> from this
> $(RANLIB) $(LIB)
> to this
> $(RANLIB) -o $(LIB) $(OBJS)
>
> Without that after "make" I was getting this
> ranlib: file: ../lib/libpj-powerpc-apple-darwin9.a(pool_dbg.o) has no
> symbols
> powerpc-apple-darwin9-ranlib ../lib/libpj-powerpc-apple-darwin9.a
> powerpc-apple-darwin9-ranlib: no output file specified (specify with -o
> output)
> Usage: powerpc-apple-darwin9-ranlib -static [-] file [...] [-filelist
> listfile[,dirname]] [-arch_only arch] [-sacLT]
> Usage: powerpc-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 <filename>] [-seg_addr_table_filename
> <file_system_path>] [-all_load] [-noall_load]
> make[2]: *** [../lib/libpj-powerpc-apple-darwin9.a] Error 1
> make[1]: *** [pjlib] Error 2
> make: *** [all] Error 1
>
> Is that what you're asking?
>
>
Yeah. That doesn't look like the usual ranlib to me, maybe it's a symlink to
something else. But anyway, it doesn't seem to matter anymore.

Re: the missing separator error when doing "make dep", try to do "make
distclean" after configure. The build system has a habit of leaving the .dep
file in bad state if error occurs, and "make distclean" should clean up
these files.

cheers
 benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090128/20bdd3d0/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