Mine shows:
$ ldconfig -p | grep libnl
        libnl.so.1 (libc6,x86-64) => /usr/lib/libnl.so.1
        libnl.so.1 (libc6) => /usr/lib32/libnl.so.1
        libnl.so (libc6) => /usr/lib32/libnl.so

Perhaps you need to replace the 'libnl.so' symlink?

On Mon, Dec 14, 2009 at 04:42:18PM -0600, Carlos Cardenas wrote:
> Paul,
> 
> I have issues with the linking....what else did you do to force to use
> the 32bit libs?
> 
> $ ldconfig -p | grep libnl
>       libnl.so.1 (libc6,x86-64) => /usr/lib/libnl.so.1
>       libnl.so.1 (libc6) => /usr/lib32/libnl.so.1
>       libnl.so (libc6,x86-64) => /usr/lib/libnl.so
> 
> 
> [snip]...
> /bin/bash ../libtool --tag=CC   --mode=link gcc  -m32 -g -Wall -O2
> -version-info 1:0:1 -L/usr/lib32 -lnl    -o libwimaxll.la -rpath
> /usr/local/lib libwimaxll_la-genl.lo libwimaxll_la-log.lo
> libwimaxll_la-misc.lo libwimaxll_la-op-open.lo libwimaxll_la-op-msg.lo
> libwimaxll_la-op-reset.lo libwimaxll_la-op-rfkill.lo
> libwimaxll_la-op-state-get.lo libwimaxll_la-re-state-change.lo
> libwimaxll_la-wimax.lo
> libtool: link: gcc -shared  .libs/libwimaxll_la-genl.o
> .libs/libwimaxll_la-log.o .libs/libwimaxll_la-misc.o
> .libs/libwimaxll_la-op-open.o .libs/libwimaxll_la-op-msg.o
> .libs/libwimaxll_la-op-reset.o .libs/libwimaxll_la-op-rfkill.o
> .libs/libwimaxll_la-op-state-get.o
> .libs/libwimaxll_la-re-state-change.o .libs/libwimaxll_la-wimax.o
> -L/usr/lib32 -lnl  -m32   -Wl,-soname -Wl,libwimaxll.so.0 -o
> .libs/libwimaxll.so.0.1.0
> /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../libnl.so when searching
> for -lnl
> /usr/bin/ld: skipping incompatible /usr/lib/libnl.so when searching for -lnl
> /usr/bin/ld: cannot find -lnl
> collect2: ld returned 1 exit status
> make[2]: *** [libwimaxll.la] Error 1
> make[2]: Leaving directory `/home/los/working/wimax/wimax-tools/lib'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/los/working/wimax/wimax-tools/lib'
> make: *** [all-recursive] Error 1
> 
> Carlos
> 
> On Sat, Dec 5, 2009 at 5:14 PM, Paul Donohue <[email protected]> wrote:
> > Here's what I did to get it working in Ubuntu 9.10 on a 64-bit machine:
> >
> > (The kernel in Ubuntu 9.10 includes WiMAX drivers and firmware out of the 
> > box, so you only need to compile the userspace tools)
> >
> > Create /etc/modprobe.d/i2400m.conf containing:
> >  options i2400m idle_mode_disabled=1
> >
> > Install the ia32-libs package
> >
> > Get a copy of libnl.so.1.1 from a 32-bit Ubuntu installation (no 32-bit 
> > libnl package is currently available under x86_64 Ubuntu)
> >  cd /usr/lib32/
> >  cp /<...>/libnl.so.1.1 .
> >  ln -s libnl.so.1.1 libnl.so.1
> >  ln -s libnl.so.1 libnl.so
> >  ldconfig
> >
> > Install pkg-config, libnl-dev, autoconf, libtool, and libc6-dev-i386 
> > packages
> >
> > Download the WiMAX Network Service
> >  tar -xvjf WiMAX-Network-Service-1.4.0.tar.bz2
> >  cd WiMAX-Network-Service-1.4.0/
> >  Edit configure.ac : add '-m32' to CFLAGS
> >  autoconf
> >  cd wimax-tools/
> >  Edit configure.in : add '-m32' to CFLAGS
> >  autoconf
> >  cd ..
> >  ./configure --with-i2400m=/usr/src/wimax-i2400m-1.4.1/ \
> >    --sysconfdir=/etc \
> >    --localstatedir=/var \
> >    --mandir=/usr/share/man \
> >    --prefix=/usr/local
> >  Edit libtool : change 'ECHO="echo"' to 'echo="echo"'
> >  make all
> >  make install
> >  ldconfig
> >  cd ..
> >  rm -rf WiMAX-Network-Service-1.4.0
> >  rm -rf /usr/src/wimax-i2400m-1.4.1
> >
> > Download the Binary Supplicant
> >  tar -xvjf Intel-WiMAX-Binary-Supplicant-1.4.0.tar.bz2
> >  cd Intel-WiMAX-Binary-Supplicant-1.4.0
> >  ./install_supplicant.sh install
> >  cd ..
> >  rm -rf Intel-WiMAX-Binary-Supplicant-1.4.0
> >
> > /etc/init.d/wimax start
> >  If you want to have this start automatically, install the sysv-rc-conf 
> > package, then run 'sysv-rc-conf wimax on'
> >
> > Connect to the network
> >  wimaxcu status
> >  wimaxcu ron
> >  wimaxcu scan
> >  wimaxcu connect network 4
> >  wimaxcu status link
> >  wimaxcu status connect
> >  wimaxcu connectmode connect auto
> >
> > On Fri, Dec 04, 2009 at 09:19:01PM -0600, Carlos Cardenas wrote:
> >> Are there any 64bit Linux Users?
> >>
> >> I got everything downloaded and built but find out that the Binary
> >> Supplicant is only for 32bit Linux.
> >>
> >> I'm running Ubuntu 9.10 64bit Linux and have a Lenovo X200 with Intel 5150 
> >> chip.
> >>
> >> Any help would be appreciated...
> >>
> >> Thanks
> >>
> >> Carlos
> >> _______________________________________________
> >> wimax mailing list
> >> [email protected]
> >> http://lists.linuxwimax.org/listinfo/wimax
> >>
> >
> 
_______________________________________________
wimax mailing list
[email protected]
http://lists.linuxwimax.org/listinfo/wimax

Reply via email to