Find the answer to your Linux question:
Results 1 to 2 of 2
I am rtrying to cross compile PCRE for a MIPS architecture. I need this as a requirement for snort cross compilation for MIPS architecture. I keep getting this error ------------------------------------------------------------ ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Posts
    1

    Libpcre/ PCRE MIPS cross compilation error


    I am rtrying to cross compile PCRE for a MIPS architecture. I need this as a requirement for snort cross compilation for MIPS architecture.
    I keep getting this error
    ------------------------------------------------------------
    /bin/sh ./libtool --mode=link /usr/bin/gcc -g -O2 -I. -I. -o dftables dftables.olibtool: link: unable to infer tagged configuration
    libtool: link: specify a tag with `--tag'
    make: *** [dftables] Error 1
    -------------------------------------------------------------

    This I get despite the setting of the variable CC_FOR_BUILD=/usr/bin/gcc while I am using the cross compiler for the rest.
    The configure script arguments are .
    CC_FOR_BUILD=/usr/bin/gcc ./configure --host=mips --prefix=/home/cross/wrt54g/pcre --with-pcap=linux


    Someone please help. This is urgent and I have already spent 2 days searching google for this error but to no benefit.
    Thank in advance

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Try using the option '--tag=CC'.

    Code:
    /bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •