New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot compile, erroring out about fnmatch library. #1

Closed
Spork-Schivago opened this Issue Oct 31, 2013 · 9 comments

Comments

Projects
None yet
2 participants
@Spork-Schivago

Spork-Schivago commented Oct 31, 2013

I cannot compile this. I have been trying for a while. I even tried using Kakaroto's version and I even tried using the latest versions from Enlightenment. What am I doing wrong? It errors out about missing the fnmatch library. I am using the PS3 Toolchain from http://github.com/ps3dev/ps3toolchain, PS3 Libraries from http://github.com/ps3dev/ps3libraries and PSL1GHT from http://github.com/HACKERCHANNEL/PSL1GHT. Any ideas?

@wargio

This comment has been minimized.

Owner

wargio commented Oct 31, 2013

ok. you are using PSL1GHT V1 instead of V2. Install V2 and use my script to install the dependencies, then, download the https://github.com/kakaroto/e17 repo and run /devs/kakaroto/build_ps3efl.sh

@Spork-Schivago

This comment has been minimized.

Spork-Schivago commented Oct 31, 2013

Forgot to add, the one package I'm having trouble with is Eet. It errors out with:

checking for library containing fnmatch... no
configure: error: Cannot find fnmatch()

With the official version and with Kakaroto's version of Eet, I get a little more info. The error messages with those packages are some like:

../../src/lib/.libs/libeet.a(eet_lib.o): In function eet_list': /home/spork/Downloads/eet-1.7.8/src/lib/eet_lib.c:2599: undefined reference to.fnmatch'
/usr/local/ps3dev/portlibs/ppu/lib/libescape.a(libescape_la-escape_unistd.o): In function escape_realpath': /home/spork/src/EFL-PS3/escape/src/lib/escape_unistd.c:24: undefined reference to.lrealpath'
collect2: error: ld returned 1 exit status
make[2]: *** [eet] Error 1
make[2]: Leaving directory `/home/spork/Downloads/eet-1.7.8/src/bin'
make[1]: *** [install-recursive] Error 1

Seeing as all the versions of Eet I've tried to compile error out, I doubt it's your package. I'm thinking maybe something with PSL1GHT or the PS3 Libraries or even the toolchain. Your readme said if I have trouble, contact you. I'm getting kind of desperate. Please help.

@Spork-Schivago

This comment has been minimized.

Spork-Schivago commented Oct 31, 2013

I now know what the issue is. libiberty.a is being compiled as an x86_64 library, not a PowerPC library. Any ideas on how to fix this? There was an issue created for the PS3 Toolchain GIT about 7 months ago and no fix. The guy mentioned he was able to over come the problem by using an updated version of libiberty.a. I cannot seem to find this updated version though. Any thoughts?

@wargio

This comment has been minimized.

Owner

wargio commented Oct 31, 2013

fnmatch should be inside the glibc. ps, if you are compiling the dependencies, you are doing it for x86, not for powerpc. you need edje_cc to build the images/text stuff for edje lib (for ppc)

for libiberty.a i don't know. i had the same trouble. if you need, i can give you mine.

@Spork-Schivago

This comment has been minimized.

Spork-Schivago commented Nov 1, 2013

could you please? You can e-mail it to Spork [at] stny [dot] rr [dot] com or you could give me a download link.

@wargio

This comment has been minimized.

Owner

wargio commented Nov 1, 2013

here you are:
https://www.dropbox.com/s/flkzf8k8d0j0h4x/libiberty.a
place it under $(PS3DEV)/ppu/lib

@Spork-Schivago

This comment has been minimized.

Spork-Schivago commented Nov 4, 2013

I could not get it to work with your libiberty.a file. The files inside of yours turned out not to be for the PowerPC64 architecture. However, I was finally able to figure out how to get libiberty in the binutils package to compile correctly. A quick question. When the make file runs edje, that's the x86_64 version, right? Edje seems to be messed up on my system. It's an OpenSUSE distribution. I receive an edje_cc: symbol lookup error: edje_cc: undefined symbol: eina_log_console_color_set error. I'm wondering if I'm missing a package or if somehow, Kakaroto's build_ps3elf script's version of Edje is conflicting with the version I have on the my PC. Thanks for all the help too. I really appreciate it.

@Spork-Schivago

This comment has been minimized.

Spork-Schivago commented Nov 5, 2013

I figured it all out. Accidently compiled the latest version of Edje earlier on for my system. I had to manually remove it and then use my package manager to install an outdated version and then recompile the latest version of the EFL for the PowerPC64 architecture. Thanks for the help.

@wargio

This comment has been minimized.

Owner

wargio commented Nov 5, 2013

ok :D thanks to you! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment