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
------------------------------------------------------------
...
- 02-03-2005 #1Just 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
- 02-04-2005 #2
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


Reply With Quote
