Slackware :: Run 32bit Program On X86_64?
Apr 8, 2011I'm an new to Slackware.I want to ask how to run 32bit program on x86_64.
My Slackware is 13.1 x86_64.
I'm an new to Slackware.I want to ask how to run 32bit program on x86_64.
My Slackware is 13.1 x86_64.
Tue Mar 2 23:31:51 UTC 2010 Here are a few more fixes for the big update. These were mentioned previously, but the packages were missing:
xap/gnuplot-4.2.6-x86_64-1.txz: Upgraded.
x/xterm-255-i486-1.txz: Upgraded.
x/xf86-video-nv-2.1.16-i486-1.txz: Upgraded.
x/fontconfig-2.8.0-i486-1.txz: Upgraded.
And this one was present, but not mentioned:
x/xf86-video-geode-2.11.7-i486-1.txz: Upgraded.
I'm using Slackware64 with multilib (AlienBob) and i can't compile 32bit programs; 64bit programs do compile (tried helloworld). I read the tutorial and folowed it step by step setting my paths right (32dev.sh) and changing libsuffix="64" to libsufix="" from the slackbuild script.
In the attached config.log in the core test section there is this line that i find interesting
Code...
Why is it reading specs from lib64? code...
I found the source, but it's missing a few header files.I tried downloading a few but it wasn't working correctly.I'd rather install this package properly.
View 2 Replies View RelatedI've been trying to compile a small program on my 64bit Centos 5.3 but I need to compile it in 32bit mode. I've tried editing the make file and changing CC=gcc to CC='gcc -m32" and that doesn't work. I have also tried to use "make CC='gcc -m32' and that doesn't work either. It wont compile. Do I need to install something with yum to get 32bit compiler to work?
View 2 Replies View RelatedI'm very excited to post a question, since I always do everything by myself. I'm reading several lines from a text file using istream::getline(char *, streamsize n). I get the file name from the command line. Here is the code:
Code:
#include <iostream>
#include <fstream>
using namespace std;
int main ( int argc, char *argv[])
[Code]...
Using GCC 4.4.5 on Ubuntu 32bit Btw: I know assembly language and know what a segmentation fault is
How can I compile a C++ application using g++ with x86 platform settings on a x86_64 machine ? What are the possible negative side-effects of compiling a C++ application with x86 settings on a x86_64 platform ?
View 6 Replies View RelatedMy pc has 4GB ram and I want it to use it entirely. With Slackware's 2.6.33.4-huge-smp kernel my system is only able to access 3287MB. So I built a new one (2.6.35.4) and used the Slackware's 2.6.33.4-huge-smp config as template. I kept High Memory Support with 4GB because I only have 4. Now I found out that I have to set High Memory Support to 64GB to activate PAE.
What's the sense about it? Should I really use this option? Although I only have 4GB memory I don't see disadvantages.
I have a Debian Squeeze x64 VPS that I have been renting and I'm having some trouble getting the 32bit version of the Ventrilo server to run. I found alot of people with this problem since Ventrilo only has 32bit Linux servers and this solution seems to work for everybody but me. URL...t=798157 Could it be because of a newer version of ia32-libs is not providing a library that is considered obsolete but Ventrilo still needs?
View 5 Replies View RelatedI am having a problem with a simple program I wrote in Fortran (gfortran). This program basically reads a long list of numbers and makes some operations with them. Double precision is used in the variables and functions, and AFAIK everything is in order with the program. The thing is that I accidentally noticed that said program yields different results, and I am talking about integers being different, something noticeable. Apparently the offending chunk of code might be:
Code:
DOUBLE PRECISION FUNCTION tamano (x1,y1,z1)
DOUBLE PRECISION x1,y1,z1
tamano=dsqrt((x1)**2+(y1)**2+(z1)**2)
[code]....
One of the involved machines has F15 x86_64 and the other one F15 i686. My first guess is that this has something to do with how Fortran handles precision (which I supposed was the same for 32 and 64 bits). To compile the program I use:
Code:
gfortran --free-form -fno-whole-file program.f90
Is there another option I should pass the compiler to make sure the same precision is used in both cases? Or what can I do here?
I have just been forced into upgrading my mother board and cpu so now own a x86 cpu and was thinking i would give the x86_64 Slackware a try. I realize that i need to do a reinstall but can i save my /home partition? Will that save my settings or am i asking for problems? I assume i can just drop all of my config files into the new install as well.
View 4 Replies View Relatedi upgraded my netbook to slack-current (32bit) and now When booting up dmesg shows these errors:
Code:
[ 10.770199] [drm] detected 63M stolen memory, trimming to 32M
[ 10.770267] i915 0000:00:02.0: irq 43 for MSI/MSI-X
[ 10.770280] [drm] set up 32M of stolen space
[ 10.770468] [drm:init_ring_common] *ERROR* render ring head not reset to zero ctl 00000000 head 02001000 tail 00000000 start 02001000
[Code]....
This happened with generic stock kernel and is also happening with 2.6.36.2 zen kernel. Is it something serious? Kde compositing still works, except it locked up few times when i was testing how windows wobble in kde, but not recently.
I am trying to get PHP 5.3.4 into my webserver, running Slack 13.1 on a 32bit system. Basically, it's a success, but no matter what options I try, phar will not be installed
Code:
Generating phar.php
Generating phar.phar
PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled.
clicommand.inc
directorygraphiterator.inc
[Code]...
I've done some investigating on the threads, but none of the normal fixes for this permission problem work. I've added myself to the scanner and lp groups. I've also added the right device code to the epson configuration file under /etc/sane.d/ . Scanner is recognized and works under root.
When I "scanimage >somefile" in the console I get a permission error when I'm a regular user; when I do the same under root, it works. Likewise, my graphical scan frontends report that they cannot find the scanner when I am a regular user. I see alien bob had an old workaround at [url] but I don't think 13.1 has hotplug set up the same way anymore.
Looking for moral support and guidance. Currently have 13.1 running nicely with the following partitions:
/swap
/
/home
/var
/usr/local
/notlinux (my name for a storage partition when I want to start all over again)
I have decided to tinker with Slack64-current with multilibs. My intent is to shrink /notlinux an add a new partition for 64's / . Then dual boot the system.
/swap and /usr/local
I see no problem with mounting these partitions in Slack64. I would have two 'tgz' directories [ tgz & tgz64 ] in /usr/local where I would seperate SBo packages (for my benefit). Don't know what having separate /tmp directories would have on sbopkg but that's not a material issue. confirm I can share these partitions.
/home
99 & 44/100 % sure if I changed/added my name from 'dad' to 'dad64' it would not be a problem sharing the /home directory. But what about keeping the same name/uid#, would things get fubared when I jump back and forth between 13.1 and current-64. Comments?
/var
Think I might be getting into trouble here. Suspect pkgtool, installpkg, upgradepkg ... would all continue to work because /var/log/packages would actually have different names [_64] for the 'same' package. At a minimum I want to share the mysql database so might have to create this as its own partition. Other than it would be a mess reading log file would sharing this directory be a major issue.
I am trying to get TightVNC to work on my laptop running slackware 13.1 32Bit but I am having a problem. Basically, tightvnc starts correctly, but when I login with the vncviewer from a remote machine, I see this error message on the virtual desktop:
Code:
Unable to contact settings server. Did not receive a reply.Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Then I click "Close" and another error message appears:
[Code]...
I am having problems getting xrandr to work on my Thinkpad Z60m.I've tried different xorg configurations, but xrandr does not activate
dual screen mode to where I would have one large desktop. My clean xorg.conf after running xorgsetup is the following:
[code]...
I used the fbreader.SlackBuild in a 64bit system to create a package and I got some libraries installed under /usr/lib instead of /usr/lib64. FBReader seems to work fine though, so I'm not sure this is a problem. I guess it could be if some other app looks for those libraries. Just thought I should report it anyway.
I used UI=gtk if it matters.
I am having difficulties to connect MX 5500 Keyboard and mouse through the Bluetooth dongle.
I am running on the latest kernel, 2.6.32.7, from Slackware64 current.
I have done some searches and followed the procedures below:
Quote:
Quote:
Quote:
Quote:
Restart my system.
Plug in the dongle with red button pressed.
Quote:
Press red button on the mouse back and issue the following command
Quote:
Can't get device information: Function not implemented
Same thing happened when I tried to connect keyboard.
What should I do to connect keyboard and mouse?
The sc spreadsheet app doesn't really work in 64bits. It launches but you're unable to do anything with it, it's not possible to enter any values in the cells or do anything else. It works fine in 32bit though.
To make it work properly in 64bits, you can use this patch, borrowed from debian: http://salix.enialis.net/x86_64/13.1...changes-7.16-3
And there is also this patch to make DESTDIR work properly with the Makefile: http://salix.enialis.net/x86_64/13.1...-destdir.patch
The background to the problem. I was dangerous, not deadly or elite and I want to be that way again. The best representation that I have found is oolite. Now this installs by auto-package but only in 32-bit and I find auto-package a bit of a pain. I have the windows version installed and running under wine but would prefer a compiled 64-bit Slackware package.
Oolite requires gnu-step so I have downloaded the source and some old (12.2) slackbuilds, which I have modified, and made a package for gnustep-make. The next stage is to make a package for gnustep-base however it is failing with the following error
Code:
./configure: line 1390: gnustep-config: command not found
configure: error: cannot run /bin/sh /tmp/SBo/gnustep-base-1.18.0/config.sub
I've got 13.1 x86_64 installed on /dev/sda2, and I would like to have 13.1 x86 installed on /dev/sdb2. How do I setup lilo.conf to handle this? While installing 13.1 x86 on /dev/sdb2 I skipped the LILO step, so what I currently have is a full 32 bit Slackware 13.1 install on /dev/sdb2, but no way to boot it.
View 2 Replies View RelatedI'm mainly asking beforehand so I won't have to shoot myself in the head twenty minutes from now. I suppose I'll find/figure out one way or the other anyway . Can I just source the 32dev.sh and then run sbopkg -i if the source for the package I want to create isn't 64bit capable? I might need to change the $ARCH variable to x86_64 too, right?
View 1 Replies View RelatedBoot process ends up as shown at attached jpg.I use Biostar motherboard P35D2-A7 When I tried to use the kernel on the installation dvd I got working system. But no succes with huge or generic (with initrd) kernels.
View 3 Replies View RelatedI'm trying to install Tk from CPAN in slackware-current x86_64 for perl v5.12.3 and get the following error message
Code:
In file included from Xlib_f.c:8:0:
Xlib.h:22:15: error: conflicting types for 'XKeycodeToKeysym'
/usr/include/X11/Xlib.h:1694:15: note: previous declaration of 'XKeycodeToKeysym' was here
[Code]....
I have a very frustrating stability problem on my Workstation where I run a Slackware64 Current installation. The problem is, many programs just crashes, after they started, or after a quit short while. Affected are Firefox, Thunderbird, Krusader, Amarok, Konsole, and many other programs. The second problem is, if I downloaded a bzip2 archive, it is corrupt. I downloaded many archives, from other mirrors, and all corrupt. I had installed, the Multilib-packages, thought they would be the reason for the problems, and installed the standard packages of glibc and gcc. No changes. Then I upgraded the kernel from 2.6.33.4, to 2.6.35.6. (Compiled it myself) Nothing better.
[Code]...
I have just started with Slackware and I have a problem with my wifi. I don't know if I should make more changes to any archive but when I try to start my wifi it doesn't work at all. What I should do? take into consideration that I come from Ubunut, where everything is done beforehand.
View 6 Replies View RelatedI would like to report that at time of writing the package pan-0.134-x86_64-1.txz is shipped with -current 32 bit. It's not mislabeled, I think it's the actual x86_64 package:
Code: $ pan bash: /usr/bin/pan: cannot execute binary file
I am very new to Slackware and Linux.
I was able to install and run Slackware 13.0. But I have no clue to install anything to Slackware.
Can some one kindly explain step by step how can I install pidgin-2.5.9-x86_64-1.txz ?. It will be a great help.
How can I learn Slackware?
A routine slackpkg upgrade-all on Slackware64 13.1 upgraded xrdb to xrdb-1.0.9-x86_64-1_slack13.1 and resulted in breaking urxvt. The cause was hard to find; it turned out to be a trailing space in ~/.Xresources on custom line
Code:
URxvt.keysym.Mod4-v: perl:clipboard:paste which sets up Super+E to call the sub paste in the perl file "clipboard".
IDK whether other X resources or programs would be more tolerant of trailing space(s) and whether this is Slackware-specific (unlikely, given Slackware's philosophy) but it is such a difficult problem to identify I thought it worth this "heads up".