Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 06-03-2012, 07:49 PM   #1
Registered: Mar 2011
Posts: 45

Rep: Reputation: 2
network-manager-applet error

I am experiencing an issue with network-manager-applet from slackbuilds. Below is the error that comes up during compile:

-Wmissing-prototypes -Wdeclaration-after-statement -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare -fno-strict-aliasing -MT libutils_la-nma-bling-spinner.lo -MD -MP -MF .deps/libutils_la-nma-bling-spinner.Tpo -c -o libutils_la-nma-bling-spinner.lo `test -f 'nma-bling-spinner.c' || echo './'`nma-bling-spinner.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -pthread -DORBIT2=1 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/NetworkManager -I/usr/include/libnm-glib -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/gnome-keyring-1 -DUIDIR=\"\" -DDATADIR=\"/usr/share\" -I../../src/gconf-helpers -I../../src -Wall -Werror -std=gnu89 -O2 -fPIC -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare -fno-strict-aliasing -MT libutils_la-nma-bling-spinner.lo -MD -MP -MF .deps/libutils_la-nma-bling-spinner.Tpo -c nma-bling-spinner.c -fPIC -DPIC -o .libs/libutils_la-nma-bling-spinner.o
nma-bling-spinner.c: In function 'nma_bling_spinner_screen_changed':
nma-bling-spinner.c:192:19: error: variable 'spinner' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

make[4]: *** [libutils_la-nma-bling-spinner.lo] Error 1
make[4]: Leaving directory `/tmp/SBo/network-manager-applet-'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/SBo/network-manager-applet-'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/network-manager-applet-'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/network-manager-applet-'
make: *** [all] Error 2
I have found on the internet through "google" that this was going on in version and was due to amd64. I read through a bunch of stuff that says it should be fixed on later updates and I don't see much of a work around or fix. Can anyone point me in the right direction, and this wouldn't be because I am operating 64bit would it?
Old 06-03-2012, 08:57 PM   #2
LQ Newbie
Registered: Apr 2006
Distribution: Slackware
Posts: 26

Rep: Reputation: 8
I assume you're using -current? You'll have this problem with a few SlackBuilds until the source is fixed upstream. In the time being, add this to your SlackBuild for network-manager-applet (easy to do in sbopkg through the "Custom" selection):
sed -ie 's/-Werror//' configure
Put it right above the ./configure line, so that the whole section looks like this:
 -exec chmod 644 {} \;

sed -ie 's/-Werror//' configure

./configure \
  --prefix=/usr \
That should suppress the error and let you compile.
Old 06-03-2012, 10:47 PM   #3
Registered: Mar 2011
Posts: 45

Original Poster
Rep: Reputation: 2
Thanks apeitheo, i will give it a try. Yes i am using -current and will let u know how it all turns out as soon as i am done updating my system.
Old 06-04-2012, 12:16 AM   #4
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,646

Rep: Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958
Please note that SlackBuild scripts hosted in SBo are designed to work on certain -Stable releases (currently 13.37), so it's natural if it breaks on -Current due to the nature of -Current which introduces new toolchain and libraries which might cause some incompatibilities
Old 06-04-2012, 09:40 PM   #5
Registered: Mar 2011
Posts: 45

Original Poster
Rep: Reputation: 2

Well I appreciate all the help guys. But once I finished my outdated updates in -current, I tried apeitheo's advice and was unsuccessful still. Only this time I got a new error. I did realize with the -current updates my NetworkManager was updated to, but I was trying to install the nm-applet. Knowing this is what is on the SBopkg tool and from slackbuilds, I went gnome's ftp and downloaded the corresponding nm-applet. I then used Workman's Slackbuild scripts to build with only two exceptions. 1st I had to change the info file and the slackbuild script to reflect the correct build, 2nd I had to comment out his one line the set NM to group NetDev, and it works just fine after build. Thanks again for the help.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Manager Applet keeps asking for authentication SlowCoder Linux - Networking 3 06-04-2012 11:12 AM
[SOLVED] Network Manager and applet issue Knightron Slackware 14 07-02-2011 08:05 AM
Network Manager Applet carlosinfl Debian 6 06-21-2011 08:33 PM
Network Manager Applet (nm-applet) dwhitney67 Linux - Newbie 5 02-01-2010 11:20 PM
Network Manager Applet Problem mrant0 Linux - Wireless Networking 2 04-16-2007 01:44 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration