Wi-Fi Technology Forum - Wireless Mobile News and Forums Setup Your Own Wi-Fi Hotspot

Wi-Fi Technology Forum - Wireless Mobile News and Forums

User's Login





 


 Log in Problems?
 New User? Sign Up!

News & Articles

Partners

Wi-Fi Hotspots Directory

NewsLetters

You are currently not logged in, but you can still subscribe to our newsletter.



Search


You are not logged in

Register | Search | Latest Messages | FAQ | Stats


Posting and replies only for registered members!
Author: Subject: Common Problems (compiling)

Unregistered
  posted on 4/2/03 at 04:06
Hello!

Please use this thread if you have problems compiling KWiFiManager. I will try to answer all issues mentioned.

Greetings,

Stefan Winter (KWiFiManager developer)

Newbie


Posts: 1
Registered: 17/2/04
Status: Offline
  posted on 17/2/04 at 13:15
I'm trying to compile version 1.0.2 on Fedora Core 1, and the following item fails:

/bin/sh ../libtool --mode=link --tag=CXX g++ -O2 -fno-exceptions -fno-check-new -o kwifimanager -L/usr/X11R6/lib -L/usr/lib/qt-3.1/lib -L/usr/lib -R /usr/lib -R /usr/lib/qt-3.1/lib -R /usr/X11R6/lib iwlib.o status.o locator.o speed.o statistics.o picture.o strength.o stuff.o kwifimanager.o main.o kwifimanager.moc.o kwifimanager_meta_unload.o -lmcop -lartsflow -lkdeui -lkdecore -lqt-mt -lpng -lz -lm -lXext -lX11 -lresolv -lSM -lICE -lpthread -lresolv
g++ -O2 -fno-exceptions -fno-check-new -o kwifimanager iwlib.o status.o locator.o speed.o statistics.o picture.o strength.o stuff.o kwifimanager.o main.o kwifimanager.moc.o kwifimanager_meta_unload.o -L/usr/X11R6/lib -L/usr/lib/qt-3.1/lib -L/usr/lib /usr/lib/libartsflow.so /usr/lib/libartsflow_idl.so -laudiofile /usr/lib/libmcop.so -lvorbisfile -lvorbisenc -lvorbis -logg /usr/lib/libkdeui.so -L/usr/kerberos/lib /usr/lib/libkdecore.so /usr/lib/libDCOP.so -ldl -lXinerama -lart_lgpl_2 /usr/lib/libkdefx.so -lXrender -lstdc++ -lc -lgcc_s -lqt-mt -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread -lresolv -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/usr/lib/qt-3.1/lib -Wl,--rpath -Wl,/usr/X11R6/lib
/usr/bin/ld: cannot find -laudiofile
collect2: ld returned 1 exit status
make[3]: *** [kwifimanager] Error 1
make[3]: Leaving directory `/root/install/kwifimanager-1.0.2/kwifimanager'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/install/kwifimanager-1.0.2/kwifimanager'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/install/kwifimanager-1.0.2'
make: *** [all] Error 2

Thanks


[Edited on 17/2/2004 by btilma]

Unregistered

  posted on 18/2/04 at 00:38
Hi!

> /usr/bin/ld: cannot find -laudiofile

You need the audiofile development files. A quick search on rpmfind.net shows that RPMs exist with names like libaudiofile-devel or audiofile-devel . I don´t know where to find it specifically under Fedora, but you should be looking for something similar.
BTW: Do you have KDE 3.2.0 under Fedora? Then you have the newest version of KWiFiManager built-in in kdenetwork. You needn´t bother with version 1.0.2 any more then.

Stefan Winter

Newbie


Posts: 1
Registered: 12/5/04
Status: Offline
  posted on 12/5/04 at 03:07
Hi,

I have a problem with compiling Kwifimanager 1.0.2 on my FC1 system with kernel 2.6.5-1.356custom with gcc 3.3.2-6.
The .configure runs well, but make exits with:

bash-2.05b# make
make all-recursive
make[1]: Entering directory `/usr/local/kwifimanager'
Making all in kwifimanager
make[2]: Entering directory `/usr/local/kwifimanager/kwifimanager'
Making all in kickerapplet
make[3]: Entering directory `/usr/local/kwifimanager/kwifimanager/kickerapplet'
source='myview.cpp' object='myview.lo' libtool=yes \
depfile='.deps/myview.Plo' tmpdepfile='.deps/myview.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib/qt-3.3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions -fno-check-new -c -o myview.lo `test -f 'myview.cpp' || echo './'`myview.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib/qt-3.3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions -fno-check-new -c myview.cpp -MT myview.lo -MF .deps/myview.TPlo -MD -MP -fPIC -DPIC -o .libs/myview.o
myview.cpp:377:22: myview.moc: No such file or directory
make[3]: *** [myview.lo] Error 1
make[3]: Leaving directory `/usr/local/kwifimanager/kwifimanager/kickerapplet'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/kwifimanager/kwifimanager'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/kwifimanager'
make: *** [all] Error 2

As a NEWBIE I googled around to find some information about a missing rpm/ that provides myview.moc, but with no success.
Maybe it is the wrong approach. Can someone help me out?

Background is, that kwifimanager delivered with KDE3.2 exits with alarm clock message when I plug in my Linksys WPC54G running with ndiswrapper 0.7 and bcmwl5.sys. I remember I got it running on my old 2.4 kernel system.

Any help is very much appreciated.

Regards /// Marc

Unregistered

  posted on 12/5/04 at 10:14
Hi!

> myview.cpp:377:22: myview.moc: No such file or directory
> As a NEWBIE I googled around to find some information about a missing rpm/ that
> provides myview.moc, but with no success.
> Maybe it is the wrong approach. Can someone help me out?

Well, it is. moc files are created during compilation and are not part of a RPM package.

> Background is, that kwifimanager delivered with KDE3.2 exits with alarm clock message
> when I plug in my Linksys WPC54G running with ndiswrapper 0.7 and bcmwl5.sys. I
> remember I got it running on my old 2.4 kernel system.
> Any help is very much appreciated.

Okay, I have received multiple reports about that alarm bell problem now, and it looks very much like this problem is only under Fedora Core 1. Right now, I am pushing my DSL connection to the limit to get the FC1 ISOs and investigate this myself.
Once the problem is resolved, you should not need to compile 1.0.2 any more. Please give me a few days to check FC1 out.

Greetings,

Stefan Winter



Top 10 annual competition for forum contributors, get yourself in the race!