SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Linking floptool...
/usr/bin/ccache /usr/bin/clang++ -o ../../../../../floptool ../../../../linux_clang/obj/x64/Release/src/tools/floptool.o ../../../../linux_clang/obj/x64/Release/src/tools/image_handler.o ../../../../linux_clang/obj/x64/Release/generated/version.o -L"../../../../../../../../usr/X11/lib" -L"../../../../../../../../usr/X11R6/lib" -L"../../../../../../../../usr/openwin/lib" -L"." -L"../../../../linux_clang/bin/x64/Release/mame_mame" -L"../../../../linux_clang/bin/x64/Release" -m64 -fuse-ld=gold -Wl,-rpath,/usr/lib64 -Wl,--enable-new-dtags ../../../../linux_clang/bin/x64/Release/mame_mame/libformats.a ../../../../linux_clang/bin/x64/Release/libutils.a ../../../../linux_clang/bin/x64/Release/lib7z.a ../../../../linux_clang/bin/x64/Release/mame_mame/libocore_sdl.a ../../../../linux_clang/bin/x64/Release/libutf8proc.a -ldl -lrt -lSDL2 -lm -lpthread -lutil -lexpat -lz -lFLAC
/usr/bin/ld.gold: error: cannot open ../../../../../../../../usr/X11/lib/libdl.so: No such file or directory
/usr/bin/ld.gold: error: cannot open ../../../../../../../../usr/X11/lib/librt.so: No such file or directory
/usr/bin/ld.gold: error: cannot open ../../../../../../../../usr/X11/lib/libm.so: No such file or directory
/usr/bin/ld.gold: error: cannot open ../../../../../../../../usr/X11/lib/libutil.so: No such file or directory
/usr/bin/ld.gold: error: cannot open ../../../../../../../../usr/X11/lib/libFLAC.so: No such file or directory
/usr/bin/ld.gold: error: cannot open ../../../../../../../../usr/X11/lib/libm.so: No such file or directory
../../../../linux_clang/bin/x64/Release/mame_mame/libocore_sdl.a(posixptty.o):posixptty.cpp:function posix_open_ptty(unsigned int, std::unique_ptr<osd_file, std::default_delete<osd_file> >&, unsigned long&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&): error: undefined reference to 'openpty'
clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [floptool.make:267: ../../../../../floptool] Error 1
make[1]: *** [Makefile:1228: floptool] Error 2
make[1]: *** Waiting for unfinished jobs....
It continues to build more files for a while after this error, but then ends with these messages:
So, I will have to wait now to see what happens...
edit:
Getting the same problem using the above. It is as if it is trying to compile 32-bit. I'm running pure 64-bit slackware, no multilib. But, this compile should not be trying to build 32-bit anyway.
Btw... I have just gone ahead (for now) and reinstalled my old mame-0.194-x86_64-1_SBo package from slackware64-14.2. It still works fine. I think that, when it comes to mame, it would be nice to see SBo packages for many versions of mame offered on slackbuilds.org. Sometimes, the new version has problems and you want to go back to an older version (like mame-0.194 works nicely). I don't have the mame 0.194 slackbuild files anymore - hope I don't need to try to rebuild it!
Is there a way to download old SBo package versions?
Still, the mame 0.240 SBo should work. I still want to see the build problem fixed, if anyone can help with that.
Is there a way to download old SBo package versions?
you can try navigating the git tree: first you open https://git.slackbuilds.org/slackbuilds/ then you put in the search box "games/mame" and click "search".
at this point you can click on the commit you prefer (for example "games/mame: Updated for version 0.194."), on the resulting page click on "tree" and then navigate the tree to games/mame: when you see the files you can download them clicking on the "plain" link to their right.
FWIW 0.240 built fine here too (tried also on a multilib install, because I was curious to try that too).
I am starting to think that the problem is my system.
I have upgradepkg --reinstall all packages with *glibc* and have also reinstalled all the packages in the d/ (development) package set. But, the build of mame still has the same problem.
Now, I going to try compiling an alternate kernel. If it compiles, I'll try to run on it. Then, try compiling mame again. I have no idea what the problem is. If it works for everyone else, then something is corrupted on my system.
tar xvf mame-mame0240.tar.gz
cd mame-mame0240
make -j8
then it builds without any problem. It produces (after a long compile) a large mame executable file right there, and it works fine. I ran it and played a game.
The mame.SlackBuild is trying to do something that will not work on my system, which is an upgraded slackware64-14.2 -> 15.0. It used to be multilib, but I did not reinstall multilib. I did a full slackpkg clean-system before beginning to reinstall SBo packages. I reinstalled the whole d/ (development) set of packages just to be sure. I suppose I could try reinstalling all of the l/ packages. Not sure what difference that could make. I also recompiled and reinstalled my kernel (regenerating the initrd too). The kernel compiles okay.
Maybe someone can test the mame.SlackBuild on a clean VM installation without multilib.
I had to clean /usr/lib so that it matches a fresh slackware64-15.0 install. I also cleaned /etc/ld.so.conf. Then, ran ldconfig. After this, the build works.
My /usr/lib had many broken symlinks to libraries that had been removed when I removed (slackpkg clean-system) the slackware64-14.2 multilib. I also removed some other old directories. Just to be sure, I reinstalled certain packages to make sure they don't put something back in /usr/lib. The nvidia driver installation put some files (libGL libEGL) in /usr/lib. I'm going to uninstall the driver, check /usr/lib and clear nvidia-related files, reinstall mesa, then install the nvidia driver again without 32-bit support and see what goes in /usr/lib.
Here is my /etc/ld.so.conf now:
Code:
include /etc/ld.so.conf.d/*.conf
/lib64
/usr/lib64
/usr/local/lib64
/usr/x86_64-slackware-linux/lib64
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.