Home page logo
/

metasploit logo Metasploit mailing list archives

ruby-lorcon build problem
From: asussex at googlemail.com (A Sussex)
Date: Thu, 29 Mar 2007 10:43:43 +0100

The extconf.rb system is failing for me. Here's part of the logfile:

have_library: checking for tx80211_txpacket() in -lorcon...
-------------------- no

"gcc -o conftest -I. -I/usr/lib/ruby/1.8/i486-linux -I.  -Wall -g
-fno-strict-aliasing -O2  -fPIC conftest.c  -L"/usr/lib"  -rdynamic
-Wl,-export-dynamic     -lruby1.8-static -lorcon  -lpthread -ldl
-lcrypt -lm   -lc"
conftest.c: In function `t':
conftest.c:3: error: `tx80211_txpacket' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void
((*)()))tx80211_txpacket; return 0; }
/* end */


If I compile that test program with "#include <tx80211.h>" at the top,
it works. Why would this happen?

Strangely, it builds fine on another, very similar (Debian) system.

- as



  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]