LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-03-2012, 08:49 PM   #1
liltux
Member
 
Registered: Mar 2011
Posts: 39

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:

Quote:
-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-0.8.6.0/src/utils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/SBo/network-manager-applet-0.8.6.0/src/utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/network-manager-applet-0.8.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/network-manager-applet-0.8.6.0'
make: *** [all] Error 2
I have found on the internet through "google" that this was going on in version 0.8.4.0 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, 09:57 PM   #2
apeitheo
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):
Code:
sed -ie 's/-Werror//' configure
Put it right above the ./configure line, so that the whole section looks like this:
Code:
 -exec chmod 644 {} \;

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

CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
  --prefix=/usr \
That should suppress the error and let you compile.
 
Old 06-03-2012, 11:47 PM   #3
liltux
Member
 
Registered: Mar 2011
Posts: 39

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, 01:16 AM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,617

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
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, 10:40 PM   #5
liltux
Member
 
Registered: Mar 2011
Posts: 39

Original Poster
Rep: Reputation: 2
Smile

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 0.9.2.0, but I was trying to install the 0.8.6.0 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, 0.9.2.0. 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.
 
  


Reply


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 12:12 PM
[SOLVED] Network Manager and applet issue Knightron Slackware 14 07-02-2011 09:05 AM
Network Manager Applet carlosinfl Debian 6 06-21-2011 09:33 PM
Network Manager Applet (nm-applet) dwhitney67 Linux - Newbie 5 02-02-2010 12:20 AM
Network Manager Applet Problem mrant0 Linux - Wireless Networking 2 04-16-2007 02:44 PM


All times are GMT -5. The time now is 05:18 AM.

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