Núcleo doesn't compile (Núcleo now compiled, but Metisse doesn't compile)
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well, if you encounter another problem I'll still be here just in case
And why did they go about such a massive change to libpng and why haven't the devs fixed it so it'd work?
Rhetorical question I suppose, lol.
(And I'm not supposed to say this but could you thank a few of my posts? I'm working on that Thanked number real hard )
Anyways, I'm glad that worked for you!
Good luck with Metisee!
Last edited by lupusarcanus; 03-26-2010 at 10:37 AM.
Reason: .
I followed that link you posted and there was a link to changes made in libpng 1.4. I think this part could help:
Code:
i. We removed the obsolete png_check_sig(), png_memcpy_check(), and
png_memset_check() functions. Instead use !png_sig_cmp(),
png_memcpy(), and png_memset(), respectively, i.e.,
replace
png_check_sig(buf, 8)
with
png_sig_cmp(buf, 0, 8) == 0
replace
png_memcpy_check(png_ptr, dest, src, length)
with
png_memcpy(dest, src, length)
and replace
png_memset_check(png_ptr, dest, value, length)
with
png_memset(dest, value, length)
I added a line in the PKGBUILD that sticks this line:
Code:
#define png_check_sig(a, b) png_sig_cmp(a, 0, b)
into every .c file.
Basically all these #defines that I am inserting cause the C Preprocessor to transtate the deprecated (and removed in version 1.4) libpng commands to the new equivalents.
It went much, much farther this time, but got stuck on something else, appearently unrelated to libpng:
Code:
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../xserver/include/config -I../../../xserver/include -I../../../xserver/GL/glx -I../../../xserver/GL/include -I../../../xserver/GL/mesa/include -I../../../xserver/GL/mesa/X -I../../../xserver/GL/mesa -I../../../mi -I../../../Xext -I../../../render -I../../../xserver/GL/mesa/ -I../../../xserver/GL/mesa/main -I../../../xserver/GL/mesa/glapi -I../../../xserver/GL/mesa/drivers/x11 -I../../../xserver/include -I../../../xlibs/Xfont/include/X11/fonts/ -I../../../xlibs/Xau -I../../../xserver/include/X11/Xtrans -UHAVE_CONFIG_H -DXFree86Server -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -I../../../xserver/include -I../../../xserver/GL/glx -I../../../xserver/GL/include -I../../../xserver/GL/mesa/include -I../../../xserver/GL/mesa/X -I../../../xserver/GL/mesa -I../../../mi -I../../../Xext -I../../../render -I../../../xserver/GL/mesa/ -I../../../xserver/GL/mesa/main -I../../../xserver/GL/mesa/glapi -I../../../xserver/GL/mesa/drivers/x11 -I../../../xserver/include -I../../../xlibs/Xfont/include/X11/fonts/ -I../../../xlibs/Xau -I../../../xserver/include/X11/Xtrans -march=x86-64 -mtune=generic -O2 -pipe -MT 3dnow_normal.o -MD -MP -MF .deps/3dnow_normal.Tpo -c -o 3dnow_normal.o `test -f 'X86/3dnow_normal.S' || echo './'`X86/3dnow_normal.S
X86/3dnow_normal.S: Assembler messages:
X86/3dnow_normal.S:46: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:47: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:48: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:66: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:67: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:68: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:133: Error: suffix or operands invalid for `pop'
X86/3dnow_normal.S:134: Error: suffix or operands invalid for `pop'
X86/3dnow_normal.S:135: Error: suffix or operands invalid for `pop'
X86/3dnow_normal.S:210: Error: suffix or operands invalid for `pop'
X86/3dnow_normal.S:211: Error: suffix or operands invalid for `pop'
X86/3dnow_normal.S:212: Error: suffix or operands invalid for `pop'
X86/3dnow_normal.S:224: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:225: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:226: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:346: Error: suffix or operands invalid for `pop'
X86/3dnow_normal.S:347: Error: suffix or operands invalid for `pop'
X86/3dnow_normal.S:348: Error: suffix or operands invalid for `pop'
X86/3dnow_normal.S:363: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:364: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:365: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:418: Error: suffix or operands invalid for `pop'
X86/3dnow_normal.S:419: Error: suffix or operands invalid for `pop'
X86/3dnow_normal.S:420: Error: suffix or operands invalid for `pop'
X86/3dnow_normal.S:434: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:435: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:514: Error: suffix or operands invalid for `pop'
X86/3dnow_normal.S:515: Error: suffix or operands invalid for `pop'
X86/3dnow_normal.S:531: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:532: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:579: Error: suffix or operands invalid for `pop'
X86/3dnow_normal.S:580: Error: suffix or operands invalid for `pop'
X86/3dnow_normal.S:597: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:598: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:665: Error: suffix or operands invalid for `pop'
X86/3dnow_normal.S:666: Error: suffix or operands invalid for `pop'
X86/3dnow_normal.S:681: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:682: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:683: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:775: Error: suffix or operands invalid for `pop'
X86/3dnow_normal.S:776: Error: suffix or operands invalid for `pop'
X86/3dnow_normal.S:777: Error: suffix or operands invalid for `pop'
X86/3dnow_normal.S:791: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:792: Error: suffix or operands invalid for `push'
X86/3dnow_normal.S:834: Error: suffix or operands invalid for `pop'
X86/3dnow_normal.S:835: Error: suffix or operands invalid for `pop'
make[4]: *** [3dnow_normal.o] Error 1
make[4]: Leaving directory `/home/michael/aur/metisse/src/metisse-0.4.1/xserver/GL/mesa'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/michael/aur/metisse/src/metisse-0.4.1/xserver/GL'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/michael/aur/metisse/src/metisse-0.4.1/xserver'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/michael/aur/metisse/src/metisse-0.4.1'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
You've still got a VM right?
Perhaps compile it on there and transfer the binary to your real install?
What will the VM change? It's 64-bit , too. (but I do have another 32-bit Arch VM I made for other reasons, I don't mind using it for compiling Metisse if it would help.)
Quote:
Originally Posted by leopard
Try this gcc option first though (from GNU mail archive);
How do I do that via the PKGBUILD? And what does that option even do? Will I need loads of lib32 dependencies? Will Núcleo (which is compiled as 64-bit) still work?
Notice the CC=gcc32 options alongside make near the bottom.
These, at least from what I've found, will compile it as 32-bit.
For the VM, you could take what you have there, and run 'make' on that machine then transfer the files back over and make install. It's a shot in the dark.
In case you haven't noticed I am using 64-bit Arch on a 64-bit CPU.
That was the point of that command. From the initial errors in the first post it looked like the compiler couldn't compile it because it was compiling 32-bit software using a 64-bit compiler.
The idea behind that command was to tell GCC to use a 32-bit compiler to compile the 32-bit software.
Anyway, that was the idea.
I realize you have a Core i7 920 processor and are using x86-64 Arch because I've looked at your profile...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.