Software :: Compiling For Different Architectures?
Jan 1, 2010Is there a way I can compile for a different architecture on the same system? For example I am interested in compiling armel debs on a 64 bit Linux distro.
View 1 RepliesIs there a way I can compile for a different architecture on the same system? For example I am interested in compiling armel debs on a 64 bit Linux distro.
View 1 RepliesI'm trying to compile some of the gnu utils (the version on some of the computers I work on are terribly out of date). The issue is that many machines share the same filesystem, and I'd like to not have a different executable for each machine. Anyways, I've read that
./configure CC="gcc -arch i686 -arch x86_64 " --prefix=/home/user/bin
should work. But of course it doesn't. apparently -arch is not an argument accepted by gcc.
I have two amd64bit machines and one intel core2 duo laptop which I want to install ubuntu on. The problem is am not sure what I need pxelinux.cfg/default file. So far I have got it to boot pxelinux
include ubuntu-installer/i386/boot-screens/menu.cfg
include amd64/ubuntu-installer/amd64/boot-screens/menu.cfg
#default ubuntu-installer/i386/boot-screens/vesamenu.c32
prompt 60
timeout 60
but I can't see how I tell it to boot ubuntu 64bit installer instead of i386 one.
Running Fedora 12, I am attempting to compile an application. The README file tells me that I need Qt 4.6.3. Clicking on System - Administration - Add/Remove Software, I find many packages having something to do with qt, but nothing looks like what I need. Is this available as a package for Fedora? If not, what would I need to do to download and use qt on my system?
View 2 Replies View RelatedI see references to compiling, but as a newbie am unclear about it. What is compiling, when do you need to do it, and how do you do it?
View 10 Replies View RelatedThe Avant Window Navigator beta, as taken from the project's Bazaar repository, isn't configuring correctly on my machine and gave me loads of errors previous to this point, so I've had my hands full for a while now. Three packages that AWN needs to compile (gnome-desktop-devel, gnome-vfs-devel and libgnome-devel) are refusing to install, leaving me with this Quote: checking for AWN... configure: error: Package requirements (glib-2.0 >= 2.8.0 gthread-2.0 gobject-2.0 gtk+-2.0 gdk-2.0 >= 2.10 dbus-glib-1 gnome-desktop-2.0 libgnome-2.0 gnome-vfs-module-2.0 gconf-2.0) were not met: No package 'gnome-desktop-2.0' found No package 'libgnome-2.0' found No package 'gnome-vfs-module-2.0' found.
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables AWN_CFLAGS and AWN_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. and this is why they won't install Quote:hal = 0.5.13-9.fc12 is needed by package hal-devel-0.5.13-9.fc12.x86_64 (fedora) I need an old version of HAL for the "dependency resolution failed" notices to go away. One which PackageKit says is still on my computer. I would try to downgrade via yum but setenforce 0 fails. What do I need to do to get this whole thing finished?
I am trying to compile kernel 2.6.33.2 (without problems 2.6.33.1), but i got the following message :
[code]...
compile ParaView myself so that I can install the pvmeshless plugin. I have done that a few times before on Ubuntu machines. Now I read that I might run into problems due to qt4.7 (4.6 is supported by PV). Anyhow I don't even come to that stage since I can't enable python support. The error I get is:
Quote:
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
Call Stack (most recent call first):
[Code]....
I have a problem i can't compile vmware i have all the packages that are needed to compile VMware.The compile can't compile anything. Here is the log of the compile :
Stopping VMware services:
VMware USB Arbitrator [ OK ]
VM communication interface socket family [ OK ]
Virtual machine communication interface [ OK ]
Virtual machine monitor [ OK ]
[code]....
I'm trying to build the latest XEN 4.0.0 from the tarball in xen.org.
After resolve the dependencies, I finalled compiled the xen kernel.
But the problem, it is not making the intrd for booting (and it is not suposed to do ), it just comments the following on the README source:
Depending on your config, you may need to use 'mkinitrd' to create an initial ram disk, just like a native system e.g.
# depmod 2.6.18-xen
# mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod initrd-2.6.18-xen.img 2.6.18-xen
[Code].......
I really want to test the pastrough and snapshot new features in XEN, since i really start to hate vmware eating all resources with more than 1 vm (I know, there is VirtualBox, but I used Vmware first since you can record videos and for portability).
I already used XEN 3.4 a lot in my own labs inside my laptop, (since I learned how to use virtual network in nat mode), and since is the default hypervisor on the job (we are migrating the lasts Vmware vms !!! cool!!! ) and I really really love XEN (is amazing, 4 vms, 1 host in a laptop turion 64 x2 with just 3GB ram!!! and my processor is not flaming!!!).
I was reading the following forum guide:openSUSE software installation hints So I decide to install from the souce code the following webcam application:
GTK+ UVC Viewer In order to avoid problems ( it is my first installation from souce code) I downloaded and unpacked everything in an USB key and I worked from, as the guide said, from the Linux terminal. Once I was in the right directory and I compute the command:
[code]..
I tried to compiling a code on 32-bit OpenSuSe 11.1, but it was terminated with following error: # ***No rule to make target '/usr/lib/libGLU.a', needed by 'DXA_debug'. Stop Then I installed the freeglut-2.6.0, but there were only libGLU.so and libGLU.so.1 in /usr/lib folder. And the compiling process was terminated with the same error. Will you give me some instruction to solve this problem?
View 3 Replies View RelatedI have tried several times, but compiling always fails.I want to compile a litte program called dwg2dxf.I think all the needed programs are installed.First I unpack the tar.gz file on my desktop. Open Terminal, enter directory, then type"./configure"Everything fine, some files are created. config.log doesnt show errors (See config.log file)."make"Some errors occurenters some directories without doing anything, thenmain.cpp:39: fatal error: iostream.h: (translation) Doesnt exist.This is the text from the terminal:
familia@familia-laptop:~/Escritorio/dwg2dxf-2.1$ make
make all-recursive
make[1]: se ingresa al directorio /home/familia/Escritorio/dwg2dxf-2.1
[code]...
so I am wanting to compile my own kernel to see if i can get my laptop to run a lill better. I found the how too's to do the compile, but what I want to know is.. what is the most complete way to find all the hardware and such that is in my laptop so i can build all the support into the kernel that i need and leave out EVERYTHING i dont need.
i figured lspci is a start but there has to be more info somewhere to find the exact needs of the laptop.
Im having problem compiling kernel I used these commands
#make menuconfig
#make-kpkg clean
#fakeroot make-kpkg --revision=custom.1.0 kernel_image
[code]...
I am trying to compile web polygraph 4.0.9 on Linux ES 3 and face the following error. how to have the following error resolved?
[root@Orchid polygraph-4.0.9]# make
make all-recursive
make[1]: Entering directory `/home/andy/polygraph-4.0.9'
Making all in .
make[2]: Entering directory `/home/andy/polygraph-4.0.9'
make[2]: Leaving directory `/home/andy/polygraph-4.0.9'
[Code]...
I went from mandriva 2009 32-bit to ubuntu 9.10 64-bit and wx begins to act up..
the simple program from the wx hello world tutorial build fine on my old system, but not my new on. I got the packages installed (wx2.8.10-dev, headers and whatnot)
I've looked around a bit and it seems the compiler is not including the files correctly..
Compiler command:
Code:
g++ k.cpp `wx-config --libs` `wx-config --cxxflags` -o morten
Compiler output sample (because most of it is because of first errors):
Code:
k.cpp:9: error: invalid use of incomplete type struct wxFrame
/usr/include/wx-2.8/wx/utils.h:50: error: forward declaration of struct wxFrame
k.cpp:12: error: ISO C++ forbids declaration of wxPoint with no type
k.cpp:12: error: expected , or ... before & token
[Code].....
i want to compile and make kernel 1.0.0(the first kernel sources of linux) but its asking gas..... yup gnu assembler. i am using ubuntu 9.10 and if you ask why i am compiling this kernel.... because the truth is to study complete linux kernel.
View 2 Replies View RelatedI'm trying to compile top-3.6.1 form pkgsrc on RH5.6 using bmake and I'm getting the following error message.
===> Building for top-3.6.1nb1
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -Wno-error -o m_linux.o -c ./machine/m_linux.c
./machine/m_linux.c: In function 'read_one_proc_stat':
./machine/m_linux.c:637: error: 'PAGE_SHIFT' undeclared (first use in this function)
[code]....
I just compiled vlc-1.1.2 from source, and it plays video files but without reacting to keyboard input (Setting esc to global does not help; I have to click on the fullscreen panel to minimize it), and when I try to play DVDs, either from disk images or from DVD, vlc opens briefly and then just sits there in the top left corner of the screen. Do I have to recompile for libdvdcss support? And is there a complete list of dependencies to install at one go before running ./configure? I had to install tons of crap, running ./configure over & over again until it threw only a moderate number of errors and ran through. I tried the c-korn ppa but it broke synaptic on my other box (I was able to fix it but don't want to use the ppa again.)
I use lucid on an iMac 7.1. The attempt to upgrade to maverick failed; I should have to completely reinstall which I don't want to do just for vlc.
I still have the generic vlc installed (1.0.6). Can I uninstall it in synaptic without pouring out my new baby with the bathwater?
My system is a fc 12 using a 2.6.33.1 kernel from kernel.org ... i've prefer compile by myself to get a minimal kernel ( i got a old p4 a 1,6ghz 2gb ram) but i got fedora kernels from updates too I am trying to compile a kernel from www.kernel.org, linux-2.6.33.2 full .. i made the same with 2.6.33.1 and all ok I got kernels from fedora distro (kernel-devel and kernel-headers installed) and kernel.org I dont know why about directory paths and files ... why make finds it? ... i think that linux-2.6.33.2.bz2 include all needed how to configure the install path ? ... if i am using /usr/src/kernels/linux-2.6.33.2 and all bzip2 extracted into it ... i can't see "configure" tool I am trying to compile kernel 2.6.33.2 (without problems 2.6.33.1), but i got the following message :
[code]....
Code:
[ 45%] Building CXX object akonadi/CMakeFiles/akonadi-kde.dir/agentmanager.o
/home/kde-devel/kdepimlibs-4.5.4/akonadi/agentmanager.cpp: In member function 'Akonadi::AgentType
[code]....
i encountered this problem when compling the tcl code, i am not sure where went wrong, did i miss any library or component?
num_nodes is set 20
INITIALIZE THE LIST xListHead
invalid command name "Agent/UDP/PDP"
while executing
"Agent/UDP/PDP create _o30 "
[Code].....
Lex's (actually Flex) output contains this:
Code:
#ifdef __cplusplus
extern "C" int yywrap (void );
[code]...
I am searching for the IDE that can compile and debug a NASM code. I am using ubuntu 10.04 and I can make compile via terminal but I must view registers for educational purposes.
View 4 Replies View RelatedI have a need to recompile mesa. The --enable-32-bit option falls over every header and basic 32 bit lib, and won't compile. But if I try to install 32 bit packages, I could slap a 32 bit binary straight on top of my 64 bit one. What's the accepted way of doing this? I can't seem to find a package in Slackware 13.0
View 9 Replies View Relatedi try to compile freej on slackware 13.1 the problem is with ffmpeg >= 0.6 i have this error
Quote:
In file included from /usr/include/libavutil/avutil.h:81,
from /usr/include/ffmpeg/avcodec.h:30,
from ../src/include/video_layer.h:22,
from ../src/include/impl_layers.h:48,
[code]....
I've installed glibc and downloaded 2.6.33.3 tar ball from kernel.org.
I created a symlink /usr/src/linux -> /drive/linux-2.6.33.3
But there's something missing because when I run
make mrproper
make config
I get errors about not finding headers:
asm/socket.h
It seems like I am missing some other symlink, I've tried creating other links, like /usr/include/asm -> /drive/linux-2.6.33.3/arch/x86/asm
I'm running 13.1 64bit with alienbob's multilib extension and want to add openmotif. I used Eric's Slackbuild from [URL] applying it to openmotif-2.3.3 and succeeded in compiling the 64bit-version.Next I tried to compile in 32bit-mode, following alienbob instructions:
move lib64 to lib in openmotif.Slackbuild
export ARCH=x86_64
. /etc/profile.d/32dev.sh
./openmotif.Slackbuild
linking stops with error-message
Quote:
/usr/lib64/gcc/x86_64-slackware-linux/4.4.4/../../../../lib/crt1.o: In function `_start':
/glibc-tmp-88b9835d8519e3638ef4d116a6932cb2/glibc-2.11.1/csu/../sysdeps/i386/elf/start.S:115: undefined reference to `main'
collect2: ld returned 1 exit status
Specifically, where does /usr/lib64/gcc/ come from?
Having trouble compiling the regular par2cmdline-0.4, I stumbled upon [URL] modified version of par2cmdline-0.4 with tbb which allows for concurrent processing of files. I have tried compiling this with no luck on my system and was wondering if anyone has had any luck. The ./configure goes through fine, and tbb is detected and used however it craps out just moments after issuing the make command. I have tried both tbb 2.2 and 3.0, but to no avail.
View 6 Replies View Related