LinuxQuestions.org
Review your favorite Linux distribution.
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 04-03-2012, 03:27 PM   #1
brodo
Member
 
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current
Posts: 183

Rep: Reputation: 16
Inkscape compile error at current Slack


I got this while compiling latest stable version of Inkscape :

<<<<<<<<
graphlayout.cpp:158:40: error: redeclaration of 'std::map<std::basic_string<char>, unsigned int>::iterator i'
graphlayout.cpp:153:35: error: 'std::list<SPItem*>::iterator i' previously declared here
make[2]: *** [graphlayout.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from ./libnr/nr-point.h:20:0,
from ./libnr/nr-rect.h:24,
from libnr/nr-convex-hull.h:14,
from selection.h:26,
from gradient-drag.cpp:24:
./2geom/point.h: In function 'void gr_knot_moved_handler(SPKnot*, const Geom::Point&, guint, gpointer)':
./2geom/point.h:41:30: warning: '*((void*)(& snap_vector)+4).Geom::Point::_pt[1u]' may be used uninitialized in this function [-Wmaybe-uninitialized]
gradient-drag.cpp:702:42: note: '*((void*)(& snap_vector)+4).Geom::Point::_pt[1u]' was declared here
In file included from ./libnr/nr-point.h:20:0,
from ./libnr/nr-rect.h:24,
from libnr/nr-convex-hull.h:14,
from selection.h:26,
from gradient-drag.cpp:24:
./2geom/point.h:41:30: warning: '*((void*)(& snap_vector)+4).Geom::Point::_pt[0u]' may be used uninitialized in this function [-Wmaybe-uninitialized]
gradient-drag.cpp:702:42: note: '*((void*)(& snap_vector)+4).Geom::Point::_pt[0u]' was declared here
make[2]: Leaving directory `/tmp/buildpkgs/inkscape/inkscape-0.48.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/buildpkgs/inkscape/inkscape-0.48.2'
make: *** [all] Error 2
>>>>>>>>>


It would be nice to solve this problem . . . .
 
Old 04-03-2012, 04:30 PM   #2
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware64
Posts: 136

Rep: Reputation: 46
Have you tried compiling with this LFS patch?
http://www.at.linuxfromscratch.org/p...cc-4.7-1.patch

Mats
 
1 members found this post helpful.
Old 04-03-2012, 07:21 PM   #3
brodo
Member
 
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current
Posts: 183

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by mats_b_tegner View Post
Have you tried compiling with this LFS patch?
http://www.at.linuxfromscratch.org/p...cc-4.7-1.patch

Mats
Yes, that works !
Thanks !
 
  


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
OpenCV 2.0 compile error in -current mlpa Slackware 17 01-06-2011 05:17 AM
[SOLVED] slackware current refuses to inkscape slackbuild?? trademark91 Slackware 1 12-08-2010 10:35 AM
inkscape fails on current... imitis Slackware 6 04-07-2010 10:08 AM
Linux 2.6.25, Slack-current, and nvidia compile error spaceballs Slackware 6 04-19-2008 06:57 PM
ImageMagick Won't compile with Kismet (Slack-Current) xannix Linux - Wireless Networking 0 05-31-2004 04:49 PM


All times are GMT -5. The time now is 10:36 PM.

Main Menu
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