LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Closed Thread
  Search this Thread
Old 12-18-2015, 02:37 PM   #346
GreenFireFly
Member
 
Registered: Jul 2013
Posts: 218

Rep: Reputation: Disabled

Hello Everyone,
I tried to compile the following programs on slackware 64 current.

1).Hard Info 0.5.1

report.o:/tmp/SBo/hardinfo-0.5.1/report.c:195: more undefined references to `strend' follow
collect2: error: ld returned 1 exit status
Makefile:24: recipe for target 'all' failed
make: *** [all] Error 1

2).libefw

Makefile:1016: recipe for target 'ewfacquire' failed
make[1]: *** [ewfacquire] Error 1
make[1]: Leaving directory '/tmp/SBo/libewf-20150126/ewftools'
Makefile:762: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

3)a.Dolphin-emu current

Source/Core/Core/CMakeFiles/core.dir/build.make:113: recipe for target 'Source/Core/Core/CMakeFiles/core.dir/BootManager.cpp.o' failed
make[2]: *** [Source/Core/Core/CMakeFiles/core.dir/BootManager.cpp.o] Error 1
CMakeFiles/Makefile2:859: recipe for target 'Source/Core/Core/CMakeFiles/core.dir/all' failed
make[1]: *** [Source/Core/Core/CMakeFiles/core.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

b.Dolphin-emu-6512

[ 93%] Linking CXX executable ../../../Binaries/dolphin-emu
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -lLLVM-3.7.0
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -lLLVM-3.7.0
collect2: error: ld returned 1 exit status
Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/build.make:1665: recipe for target 'Binaries/dolphin-emu' failed
make[2]: *** [Binaries/dolphin-emu] Error 1
CMakeFiles/Makefile2:773: recipe for target 'Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/all' failed
make[1]: *** [Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

BTW: The agg SBo links dont seem to work i get a 404 error.
 
Old 12-18-2015, 02:49 PM   #347
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
I noted on another thread that cpan2tgz in release form does not work well with -current. A change in git has it up and running again...
 
Old 12-18-2015, 02:52 PM   #348
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,130

Rep: Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202
Quote:
Originally Posted by GreenFireFly View Post
Hello Everyone,
hi!
Quote:
I tried to compile the following programs on slackware 64 current.

1).Hard Info 0.5.1

report.o:/tmp/SBo/hardinfo-0.5.1/report.c:195: more undefined references to `strend' follow
collect2: error: ld returned 1 exit status
Makefile:24: recipe for target 'all' failed
make: *** [all] Error 1
I'll have a look.

Quote:
2).libefw

Makefile:1016: recipe for target 'ewfacquire' failed
make[1]: *** [ewfacquire] Error 1
make[1]: Leaving directory '/tmp/SBo/libewf-20150126/ewftools'
Makefile:762: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
you cutted the log before the error: try posting more line of the log.
eventually post it all on pastebin and then post the link to it here.
FYI, this builds fine here on a slackware64-current full clean install.

Quote:
3)a.Dolphin-emu current

Source/Core/Core/CMakeFiles/core.dir/build.make:113: recipe for target 'Source/Core/Core/CMakeFiles/core.dir/BootManager.cpp.o' failed
make[2]: *** [Source/Core/Core/CMakeFiles/core.dir/BootManager.cpp.o] Error 1
CMakeFiles/Makefile2:859: recipe for target 'Source/Core/Core/CMakeFiles/core.dir/all' failed
make[1]: *** [Source/Core/Core/CMakeFiles/core.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
here also you cutted the log before the error: try posting more line of the log.
eventually post it all on pastebin and then post the link to it here.

Quote:
b.Dolphin-emu-6512

[ 93%] Linking CXX executable ../../../Binaries/dolphin-emu
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -lLLVM-3.7.0
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -lLLVM-3.7.0
collect2: error: ld returned 1 exit status
Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/build.make:1665: recipe for target 'Binaries/dolphin-emu' failed
make[2]: *** [Binaries/dolphin-emu] Error 1
CMakeFiles/Makefile2:773: recipe for target 'Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/all' failed
make[1]: *** [Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
this seems to say that you are missing llvm in your installation...

Quote:
BTW: The agg SBo links dont seem to work i get a 404 error.
their site seems to be dead ATM: I fixed it on my branch: see
http://slackbuilds.org/cgit/slackbui...a539b17c6819ef
 
1 members found this post helpful.
Old 12-18-2015, 03:05 PM   #349
_gin
Member
 
Registered: Aug 2012
Distribution: Oracle Linux
Posts: 106

Rep: Reputation: Disabled
Quote:
Originally Posted by GreenFireFly View Post
Hello Everyone,
I tried to compile the following programs on slackware 64 current.

1).Hard Info 0.5.1

report.o:/tmp/SBo/hardinfo-0.5.1/report.c:195: more undefined references to `strend' follow
collect2: error: ld returned 1 exit status
Makefile:24: recipe for target 'all' failed
make: *** [all] Error 1
Debian adds -std=gnu89 to the Makefile.in file, like this:

Code:
--- hardinfo-0.5.1.orig/Makefile.in
+++ hardinfo-0.5.1/Makefile.in
@@ -1,6 +1,6 @@
 
 CCFLAGS = -fPIC -pipe -Wall -g 
-CFLAGS = $(GTK_CFLAGS) $(SOUP_CFLAGS) -I.
+CFLAGS = $(GTK_CFLAGS) $(SOUP_CFLAGS) -I. -std=gnu89
 CC = gcc $(ARCHOPTS) -g
 CCSLOW = gcc -O0 -g
 
2 members found this post helpful.
Old 12-18-2015, 03:40 PM   #350
_gin
Member
 
Registered: Aug 2012
Distribution: Oracle Linux
Posts: 106

Rep: Reputation: Disabled
Quote:
Originally Posted by GreenFireFly View Post
Hello Everyone,
I tried to compile the following programs on slackware 64 current.

2).libefw

Makefile:1016: recipe for target 'ewfacquire' failed
make[1]: *** [ewfacquire] Error 1
make[1]: Leaving directory '/tmp/SBo/libewf-20150126/ewftools'
Makefile:762: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Same problem, I added CFLAGS="-std=gnu89" to configure and It compiled.
I tried like this:

Code:
CFLAGS="-std=gnu89 -fPIC -O2" ./configure --disable-static --enable-python

Last edited by _gin; 12-18-2015 at 03:45 PM.
 
Old 12-18-2015, 05:16 PM   #351
GreenFireFly
Member
 
Registered: Jul 2013
Posts: 218

Rep: Reputation: Disabled
Hello Ponce,

Ok here is the output on paste bin.

1).libefw http://pastebin.com/Kg4jXQsV

2).dolphin-emu 3a http://pastebin.com/gNMyh08R

3).dolphin-emu 3b http://pastebin.com/0kgM64BG "I checked in pkgtool and it has llvm-3.7.0-x86_64-2 installed."
 
Old 12-18-2015, 08:36 PM   #352
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,686

Rep: Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801
Quote:
Originally Posted by _gin View Post
Same problem, I added CFLAGS="-std=gnu89" to configure and It compiled.
I tried like this:

Code:
CFLAGS="-std=gnu89 -fPIC -O2" ./configure --disable-static --enable-python
Fixed in my branch and stays working for 14.1
 
Old 12-18-2015, 08:43 PM   #353
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,686

Rep: Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801
Quote:
Originally Posted by _gin View Post
Debian adds -std=gnu89 to the Makefile.in file, like this:

Code:
--- hardinfo-0.5.1.orig/Makefile.in
+++ hardinfo-0.5.1/Makefile.in
@@ -1,6 +1,6 @@
 
 CCFLAGS = -fPIC -pipe -Wall -g 
-CFLAGS = $(GTK_CFLAGS) $(SOUP_CFLAGS) -I.
+CFLAGS = $(GTK_CFLAGS) $(SOUP_CFLAGS) -I. -std=gnu89
 CC = gcc $(ARCHOPTS) -g
 CCSLOW = gcc -O0 -g
Thanks
fixed this on my branch too
 
Old 12-19-2015, 01:39 AM   #354
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,130

Rep: Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202
Quote:
Originally Posted by _gin View Post
Same problem, I added CFLAGS="-std=gnu89" to configure and It compiled.
I tried like this:

Code:
CFLAGS="-std=gnu89 -fPIC -O2" ./configure --disable-static --enable-python
maybe it's me, but here on slackware64-current the SlackBuild for this built fine without the need to specify -std=gnu89.
EDIT: ops, sorry for the noise, I missed that David already patched it for this in our repository
http://cgit.ponce.cc/slackbuilds/commit/?h=libewf

please use this to build your stuff before reporting issues in this thread.

Quote:
Originally Posted by GreenFireFly View Post
Ok here is the output on paste bin.

1).libefw http://pastebin.com/Kg4jXQsV
please post the link to the full output from running the SlackBuild (this applies also to dolphin-emu).

consider also that, reading some of your previous topics, you have some custom stuff installed in /usr/local that in this particular case happens to be an optional dependency of doplhin-emu (I am talking about wxGTK) and that is also included in dolphin-emu's sources themself as an external library: SBo supports building against the dependencies we have in our repository on a clean slackware full installation, we would go crazy trying to support any setup out there that we have not tested ourself for 5000+ scripts.
that applies also on this humble, unofficial, attempt to let SBo things build on current, I'm sorry.
no need to say it but if someone else don't agree with this policy and wants to support also non-standard setups is free to do it.

the only suggestion I can give you is to try building this also on a full clean installation and report eventual errors that happen there.
EDIT: I tested it myself and the version on SBo doesn't build on current.
I tried to patch the SlackBuild to build from a git snapshot (official sources are there now, google code subversion is not updated anymore) and it seems to work; you can find it in a dedicated branch
http://cgit.ponce.cc/slackbuilds/commit/?h=dolphin-emu
if the maintainer has a better fix for it to build on current he's welcome! (this applies always)

Last edited by ponce; 12-19-2015 at 04:15 AM.
 
1 members found this post helpful.
Old 12-19-2015, 09:22 AM   #355
GreenFireFly
Member
 
Registered: Jul 2013
Posts: 218

Rep: Reputation: Disabled
Question

Hello Ponce,

Okay i think i have it here.

HardInfo http://pastebin.com/hEhJ1B47

I turn off wxGTK since you motioned it.
dolphin-6512 http://pastebin.com/4Fp5scY3

You can see that dolphin finds -- Found LLVM 3.7.0 but
/usr/x86_64-slackware-linux/bin/ld: cannot find -lLLVM-3.7.0.

dolphin current http://pastebin.com/ggMaad4f

I did not do the libewf paste bin because you said it's fixed.

And about my previous posts i dont think that should matter because
this a pure 64 slackware build with just SBo compile with slackware
current DEC 16 2015.

BTW: I checked directories in /usr/local and they are empty.

Last edited by GreenFireFly; 12-19-2015 at 10:01 AM.
 
Old 12-19-2015, 10:04 AM   #356
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
About hardinfo, it needs -fgnu89-inline. I tried to fix it through CFLAGS="$SLKCFLAGS -fgnu89-inline" and also through CC="gcc -fgnu89-inline", but neither solution works, because the configure script is old and inflexible. It should be possible to fix the configure script, but there are at least 160 more SlackBuilds that need fixes at the moment; I'll get back to hardinfo eventually, after I've done all the "easiest" fixes.

Edit: _gin has the answer, thanks!!

Fedora threw hardinfo out of their repo in the middle of last year because it's dead upstream... quitters

(I think -fgnu89-inline might be better than -std=gnu89, but I'm willing to listen to advice on that.)

Last edited by 55020; 12-19-2015 at 10:20 AM. Reason: Thanks _gin, I should have read the whole thread :)
 
Old 12-19-2015, 10:53 AM   #357
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,130

Rep: Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202
Quote:
Originally Posted by GreenFireFly View Post
Hello Ponce,

Okay i think i have it here.

HardInfo http://pastebin.com/hEhJ1B47
please see _gin answer above

Quote:
I turn off wxGTK since you motioned it.
sorry but I haven't said that you have to turn off wxGTK support.
Quote:
dolphin-6512 http://pastebin.com/4Fp5scY3

You can see that dolphin finds -- Found LLVM 3.7.0 but
/usr/x86_64-slackware-linux/bin/ld: cannot find -lLLVM-3.7.0.

dolphin current http://pastebin.com/ggMaad4f
above I said that I have prepared a patch for the SlackBuild that you can find on SBo.
if you find problems in applying the diff linked, I have now prepared a folder with the already patched SlackBuild files for you to download: download and build from that script using the sources linked in the .info file.

Quote:
I did not do the libewf paste bin because you said it's fixed.
it should have been already fixed if you had used the unsupported repository for current.
let me get this thing clear: the scripts that you can find on the official SBo repository are for Slackware stable so, in many cases, they won't build on current as they are provided.
if you need a repository that already has script patched to build on current, please use this (if you want to see the single patched scripts, there's a list available here) and, as I said before, report issues on this thread only if you have already tried the scripts from there and they won't build on current.

that said, don't expect that *everything* will be patched to work on current as we don't do the job of the scripts maintainers and it's a best-effort thing.

maybe I should start a new topic with a first message in which I clarify these points...

Last edited by ponce; 12-19-2015 at 11:12 AM.
 
Old 12-19-2015, 01:22 PM   #358
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by ponce View Post
maybe I should start a new topic with a first message in which I clarify these points...
I think that's a great idea! Maybe it could get stickied too, like the requests for current thread.
 
Old 12-19-2015, 02:24 PM   #359
GreenFireFly
Member
 
Registered: Jul 2013
Posts: 218

Rep: Reputation: Disabled
Hello Ponce,

I can't find patch disable_bluetooth.patch for dolphin.
 
Old 12-19-2015, 04:48 PM   #360
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,130

Rep: Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202
Quote:
Originally Posted by GreenFireFly View Post
Hello Ponce,

I can't find patch disable_bluetooth.patch for dolphin.
it's in the same folder (linked above) with the SlackBuild: I'll try pasting the link again

http://ponce.cc/slackware/testing/dolphin-emu/

Last edited by ponce; 12-19-2015 at 04:52 PM.
 
  


Closed Thread



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
[SOLVED] SBO request: CDE wigry Slackware 23 05-05-2014 06:35 AM
Nvidia-driver.SlackBuild from SBo (or: I am a bad and sloppy SBo maintainer) kingbeowulf Slackware 8 08-31-2012 02:41 AM
Opera 10.01 in SBo hitest Slackware 2 11-09-2009 02:14 PM
Bug in 8.04, fixed in 8.10 - How to get fixed in 8.04 which is LTS? taylorkh Ubuntu 4 02-28-2009 05:17 PM
UNresolved and Fixed issue thread marking abs LQ Suggestions & Feedback 8 02-13-2004 04:15 AM

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

All times are GMT -5. The time now is 09:17 PM.

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
Open Source Consulting | Domain Registration