LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-29-2012, 02:49 PM   #1
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Slackware/Knoppix
Posts: 1,799
Blog Entries: 14

Rep: Reputation: 280Reputation: 280Reputation: 280
Trying to make libgdiplus from SlackBuilds for 13.37; compilation fails


Downloaded latest libgdiplus (source and .SlackBuild file) from SlackBuilds and tried to make it with the following error:

Code:
.....
.....
.....
Configuration summary

   * Installation prefix = /usr
   * Cairo = 1.10.2 (system)
   * Text = cairo
   * EXIF tags = yes
   * Codecs supported:

      - TIFF: yes
      - JPEG: yes
      - GIF: yes
      - PNG: yes

      NOTE: if any of the above say 'no' you may install the
            corresponding development packages for them, rerun
            autogen.sh to include them in the build.

---
make  all-recursive
make[1]: Entering directory `/tmp/SBo/libgdiplus-2.10.9'
Making all in src
make[2]: Entering directory `/tmp/SBo/libgdiplus-2.10.9/src'
.....
.....
much omitted compilation/make/etc
.....
.....
/usr/lib/gcc/i486-slackware-linux/4.7.0/../../../../i486-slackware-linux/bin/ld: testgdi.o: undefined reference to symbol 'g_free'
/usr/lib/gcc/i486-slackware-linux/4.7.0/../../../../i486-slackware-linux/bin/ld: note: 'g_free' is defined in DSO /usr/lib/libglib-2.0.so.0 so try adding it to the linker command line
/usr/lib/libglib-2.0.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [testgdi] Error 1
make[2]: Leaving directory `/tmp/SBo/libgdiplus-2.10.9/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/libgdiplus-2.10.9'
make: *** [all] Error 2
Anyone seen this or have any suggestions?
 
Old 09-29-2012, 02:58 PM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 5,000

Rep: Reputation: Disabled
gcc-4.7.0 is not the compiler of 13.37: slackbuilds.org's scripts are tested with the compiler of the distribution.

besides that, you can try this.
 
1 members found this post helpful.
Old 09-29-2012, 03:18 PM   #3
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Slackware/Knoppix
Posts: 1,799

Original Poster
Blog Entries: 14

Rep: Reputation: 280Reputation: 280Reputation: 280
Quote:
gcc-4.7.0 is not the compiler of 13.37
OK, so that's another mystery...

Trying that patch now..worked, thanks, but why is my gcc 4.7.0; I don't *think* this is an upgraded system, nor did I upgrade gcc...as far as I know.

Could it be that I installed -current sometime ago? oh well

Last edited by mostlyharmless; 09-29-2012 at 03:22 PM.
 
  


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
NS 2 compilation error: make: *** No rule to make target ‚??VERSION‚??, needed by ‚??gen/ve Marz22 Linux - Newbie 8 11-21-2011 02:20 AM
Can we make slackbuilds easier? TheCrow33 Slackware 5 01-14-2011 09:35 AM
libsndfile from Slackbuilds.org fails to build... Lufbery Slackware 10 01-09-2009 08:41 AM
libgdiplus make error /want to install for mono gaddargarson Programming 2 04-10-2005 03:38 PM
libgdiplus make error /about mono gaddargarson Fedora 1 04-05-2005 10:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration