LinuxQuestions.org
Review your favorite Linux distribution.
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 08-03-2019, 05:03 PM   #1
kuipumu
LQ Newbie
 
Registered: Aug 2019
Posts: 2

Rep: Reputation: Disabled
Question Slackware 14.2 64Bits Multilib Problem: C compiler cannot create executables


Hi,
I'm having a problem with my Slackware 14.2 setup,
I recently added the multilib repository from alien using slackpkg+,
I followed the process from Slackware documentation.

After that I tried to compile a package from sbopkg, specificaly the vte3 package,
When I tried to compile this and lots of other packages I get this same error.

Code:
C compiler cannot create executables.
It happens everytime, all gcc and glib packages from multilib are installed.

The result from gcc -v is:

Code:
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-slackware-linux/9.1.0/lto-wrapper
Target: x86_64-slackware-linux
Configured with: ../gcc-9.1.0/configure --prefix=/usr --libdir=/usr/lib64 --mandir=/usr/man --infodir=/usr/info --enable-shared --enable-bootstrap --enable-languages=ada,brig,c,c++,d,fortran,go,lto,objc,obj-c++ --enable-threads=posix --enable-checking=release --enable-objc-gc --with-system-zlib --enable-libstdcxx-dual-abi --with-default-libstdcxx-abi=new --disable-libstdcxx-pch --disable-libunwind-exceptions --enable-__cxa_atexit --disable-libssp --enable-gnu-unique-object --enable-plugin --enable-lto --disable-install-libiberty --enable-gnu-indirect-function --with-linker-hash-style=gnu --with-gnu-ld --verbose --with-arch-directory=amd64 --disable-gtktest --disable-werror --without-isl --enable-clocale=gnu --enable-multilib --target=x86_64-slackware-linux --build=x86_64-slackware-linux --host=x86_64-slackware-linux
Thread model: posix
gcc version 9.1.0 (GCC)
What can be causing this issue?.
Thank you all and have a great day.
 
Old 08-03-2019, 05:42 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,615

Rep: Reputation: 6041Reputation: 6041Reputation: 6041Reputation: 6041Reputation: 6041Reputation: 6041Reputation: 6041Reputation: 6041Reputation: 6041Reputation: 6041Reputation: 6041
Look at the log files (usually 'config.log' in the source directory) to find the cause of that error. Most likely you don't have a required package installed.

I also observe that you mention you are running Slackware 14.2. However, the GCC version that is shown in your post, 9.1.0, is the version of Slackware-current. The GCC version in Slackware 14.2 is 5.5.0.
If you are trying to mix core distro packages of 14.2 and -current, the result is most often disaster.
 
2 members found this post helpful.
Old 08-10-2019, 11:48 PM   #3
kuipumu
LQ Newbie
 
Registered: Aug 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Alien Bob View Post
Look at the log files (usually 'config.log' in the source directory) to find the cause of that error. Most likely you don't have a required package installed.

I also observe that you mention you are running Slackware 14.2. However, the GCC version that is shown in your post, 9.1.0, is the version of Slackware-current. The GCC version in Slackware 14.2 is 5.5.0.
If you are trying to mix core distro packages of 14.2 and -current, the result is most often disaster.
Thank you very much Alien Bob, I'm very sorry I could not respond asap, I am very glad to see that the same maintainer of the multilib packages even gave the attention to help me with this silly problem. The whole reason for the problem was because I first made the mistake of using the wrong versions of slackware on the slackpkg+ configuration file, I installed the multilib packages for current on a 14.2 system, so, I removed the multilib packages and restore gcc and glib to their previous state to reinstall the multilib packages corresponding to 14.2, but I made a whole mess with gcc and glib so I ended reinstalling the whole system, I did not bother to do it at the time since I did it in a very early 2003 spare computer from a friend to code some stuff, I already had what I needed but wanted some more stuff, It toke some time since I'm from Venezuela and downloading all packages from netboot toke me some time. Now is working fine and all multilib packages working great, I was even able to make this Geforce 6200 GPU work with Wine using the Nvidia 304 drivers using an older kernel.

Thank you very much, I'm very sorry to made this post for this problem I had.
 
  


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
Hexedit - Slackware installation - C compiler cannot create executables vanqyard Slackware - Installation 3 04-28-2014 06:27 PM
To be 64bits or not to be 64bits, that's the question... Mega Man X General 9 01-11-2008 09:26 AM
problem: C compiler cannot create executables. navin_karnam Programming 3 05-20-2007 10:55 PM
C compiler cannot create executables -- deep problem pr3st0 Linux - Newbie 7 10-16-2004 01:11 PM
C compiler cannot create executables... Sfpiano Linux - Software 9 12-11-2003 10:28 AM

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

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