General :: Building Using Tool Chains?
Jun 25, 2010i heard many times the words tool chain , cross platform compiling , cross platform building etc ...
i can use the tool chain for All Linux OS ...?
i heard many times the words tool chain , cross platform compiling , cross platform building etc ...
i can use the tool chain for All Linux OS ...?
My Linux: Fedora 14 x64
My gcc: 4.5.1
My Glibc: 2.12.90
target Linux: "Ubuntu 8.04.4 LTS" hardy
target kernel: 2.6.24-29-server x64
target gcc: 4.2.4 target Glibc: 2.7
I need gcc/g++ and fortran. I Googled and most documents I found are somehow outdated and targeting for ARM, not for other Linux.
I am trying to build a cross GCC compiler for PPC476. I applied all the relevant patches. Cross compiler build was successful. When I try to compile the source code using the cross compiler I am getting the below error message. I think this is something related to linker.
Code:
cow_shim_funcs_startup_shutdown.o cow_shim_utils.o ../../dm/cfg/cfgi.a ../../dm/pl2/libsas21xxpl.a ../../raid/pfk/libpfk.a
/home/Raghu/gcc/cross-compiler/ppc/tools/lib/gcc/powerpc-unknown-linux-gnu/4.3.1/../../../../powerpc-unknown-linux-gnu/lib/libgcc_s.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [app.out] Error 1
just wanna ask how many firewall chains are supported by kernel? and what are there..?
View 1 Replies View RelatedIs it possible to only view certain chains and more specifically certain chain policies with options when doing: iptables -L..I would like for example view FORWARD ACCEPT rules instead of waiting for all of the drop rules to load when viewing a firewalled iptables.
View 1 Replies View RelatedHow would you remove all iptable rules and chains?
View 2 Replies View RelatedWhat commands do you use to set the INPUT, OUTPUT, and FORWARD chains in iptables to ACCEPT?
View 5 Replies View RelatedI've read the instruction about setting up the iptables rules to filter all port except HTTP, SSH, FTP. I require first remove all default iptables rules and set default rules to all chains as DROP:
# Set default-deny policies for all three default chains
$IPTABLES -P INPUT DROP
$IPTABLES -P FORWARD DROP
$IPTABLES -P OUTPUT DROP
Then allow only some ports:
#Accept inbound packets that are part of previously-OK'ed sessions
$IPTABLES -A INPUT -j ACCEPT -m state --state ESTABLISHED,RELATED
# Accept inbound packets which initiate SSH sessions
$IPTABLES -A INPUT -p tcp -j ACCEPT --dport 22 -m state --state NEW
# Accept inbound packets which initiate FTP sessions
$IPTABLES -A INPUT -p tcp -j ACCEPT --dport 21 -m state --state NEW
# Accept inbound packets which initiate HTTP sessions
$IPTABLES -A INPUT -p tcp -j ACCEPT --dport 80 -m state --state NEW
# Log anything not accepted above $IPTABLES -A INPUT -j LOG --log-prefix "Dropped by default:"
But I hired a VPS from other country so the only mean I can manage it is via SSH. If I setup the default rule to DROP first, I afraid that I can no longer connect via SSH to tell iptables allow SSH
So my question is:
- Does the IP tables take effect immediately after I input a rule?
- Is there any mean to run this as a batch job (create a script and run all these rules one time).
- My VPS has a web control panel which have a terminal via web. Is this a native terminal or just a connection via port 80 or 22?
I want to simplify some of my rules, so I want to create rules for certain services like xmpp, web, etc. since some of them use multiple ports, and I toggle them on/off a lot. Can I simply put the jump to rule clauses in the Input chain, and once the sub chains run, does it return to the input chain after the jump to rule clause? I want to do this so I don't have a ton of rules in the input chain. I think that if I simply make a list of all the rules to jump to in the input chain, it will work itself through all of them until it finds a matching filter in one of them correct?
View 9 Replies View RelatedI am trying to build linux kernel I am getting out of space after a while. I unpacked it in /usr/src directory. It seems I have plenty of space. How much space does it need to compile & build kernel. I am using VirtualBox.
root@vinay-VirtualBox:/usr/src/linux-2.6.39.3# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 6.9G 3.2G 3.4G 49% /
none 669M 640K 668M 1% /dev
none 675M 24K 675M 1% /dev/shm
none 675M 96K 675M 1% /var/run
none 675M 0 675M 0% /var/lock
/dev/sr0 39M 39M 0 100% /media/VBOXADDITIONS_4.0.10_72479
I was using amarok fine with 10.04, upgraded to 10.10 alpha, still worked fine. Decided alpha had a few bugs I didn't like so I completely removed it, installed 10.04 from scratch again (I have two partitions, / and /home, only formatted /). Now I can't get amarok to build for me at all. It plays mp3's no problem but when I try to build my collection it pretends to (takes a few minutes but goes relatively fast compared to what it should take to build) then shows 0 songs. I've already tried deleting amarok inside of /home/user/.kde/share/apps/amarok
View 1 Replies View RelatedMy clearly outdated Linux course I'M using is telling me that the directory structure for building RPMs is in /usr/src/redhat, but on my redhat system, there is only /usr/src/ > debug & > kernels, folders.
View 5 Replies View RelatedI tried to build linux-2.6.36 but I got this error message
Code:
I looked into gcc-version.sh but the problem is located somewhere else I thought at first one of the files might have been corrupted and I downloaded the archive again.
I must also say that this happened in different versions of slackware (the distro I use): 12.0, 12.1, 12.2, 13.0, 13.1
Looking at building a system that basically just runs emulators (nes, snes, etc). Haven't messed around with linux for a couple years so I thought this might be a great project to get back into it with. Maybe.
Questions I have-
- How easy is it to have a linux installation that just boots directly into the emulator? Since it will be hooked up to a tv, I just want it to be as easy as turning on the power button and then I'm off.
- Is there a stripped down linux distro that would be best suited for this type of setup? Really any recommendations for a distro would be great.
- Its running on old hardware- 900mhz athlon, 512mb ram, geforce2 video. Will this be a problem if I'm trying to run something like i've described?
I can do basics, You know checking my hardware, cd to a dir, bring up -man of commands, stuff like that.
What I am wondering is what is the best way for one to get familiar with using the terminal as the main source of operation? I pretty much want to jump in the deep-end (well maybe the middle 7 feet or so), but with my knowledge of commands can pretty much just sit here and type $ls, $lspci,$uname ... and that gets dull. I want to utilize the terminal and have something to show for it, but do not know where to begin. I got linux so I could interact with the system, and though I am doing more of that then with MS I feel I am not doing enough.
I have been try for a while now to build this and I am not getting very far. I have download the usbip-0.1.7.tar.gz from sourceforge.net I then followed [URL] to get a full kernel source. then went to usbip-0.1.7/drivers/2.6.18 and issued the command
Code:
make KSOURCE=~/rpmbuild/BUILD/kernel-2.6.18/linux-2.6.18.i686
but it failed with:
Code:
/home/scott/usbip-0.1.7/drivers/2.6.18/stub_rx.c:377: error: redefinition of 'usb_endpoint_xfer_bulk'
[Code].....
while building a package i got this error. Package name is python-gnomecanvas and i am working in debian.
I am not able to get it correct.
I'm building the code on remote linux machines, and it takes very long time. Since all the filesystem is on NFS, I suspect the NFS is the bottleneck. Can I profile the build process (make all) down to system read/write calls? Or simply put, what tool do I need to find the bottleneck. Is strace gonna help?
View 1 Replies View RelatedI am using Linux Mint Debian
Eclipse 3.5.2
Anytime I save it gets stuck on 66%
How to diagnose or fix the issue.
I have this source.tar.gz, I unpack it and cd into it, then I
Code:
$mkdir build
$./configure --lots-of-options --prefix=$PWD/build
$make
$make install
So I have inside my build folder, 4 folders, usr, lib, man, share. How do I convert this into a binary rpm package...?
I'm trying to get an understanding of( building RPM packages) and how to get a program to run on Linux. The only info I have found is about AutoTools but not what AutoTools actually does. If I knew how to manually install an application I would know how AutoTools works. Putting in environmental variables and configuring an AutoTools program does not explain what it does.
View 2 Replies View RelatedI'm compiling gtk+-2.22, and while building, I get this error:
[Code]....
Is there a way around this, or can the building of docs be suppressed?
I am trying to decide on which Linux distribution to use for Pre boot authentication software (Intel, AMD processors).
My requirements: PBA with minimal GUI; STABLE distro; minimal OS size; support for USB, mouse, key board and PC card to access internet; Intel, AMD processors.
Questions:
1. Which Distro the experts recommend?
2. Would appreciate any other pointers from experienced PBA developers.
I am trying to build a deb package and I am lost. I was trying to follow this tutorial [URL] and I am not sure what kinda of package this should be. The driver is [URL].
View 4 Replies View RelatedI'd like to clear up my misconception towards various types of installations. Is one better than the other? Do more senior people prefer compiling from source code? Hows does is compare to yum install or install from rpm?
View 7 Replies View Relatedhow (or what to use) to build a simple GUI on an embedded Linux system? I am using the Linux distribution Angstrom with a gcc compiler, and need to draw graphics on the screen. Preferably NOT in X11, but in a console only image. Are there simple graphics commands in C that will draw circles, boxes, and lines?
View 1 Replies View RelatedI'm building a 3-node cluster. I have created ocfs filesystems and mounted them on the first two nodes. But while mounting them on the third node , i'm getting this error for 8 of the total luns. all these 8 luns are of 1GB size.
I've unmounted these 8 luns from the other node and tried to mount in the third node ... and then it was working and again the error occurs in the second node. My observation was for some reason these particular luns are not allowing the third node.
mount.ocfs2: Invalid argument while mounting /dev/mapper/voting1 on /voting1. Check 'dmesg' for more information on this error.
dmesg output was :
I'm using RHEL 5.4
I already have compiled the source and I want to make an rpm. What do i do with it? Can i utilize the make file?
View 1 Replies View RelatedI'm building my new home machine right now and as usual this will be a heavily overloaded workstation that will serve as development and testing machine, file server and game console (plus I'm adding TV cards and multimedia streaming for my home network). Since these use cases work against each other (file server is unavailable when the machine is used as game console), I'm heavily considering the use of Xen to provide everything at once. Performance shouldn't be an issue in general, but the game console use case definitely requires direct access to a GPU.
[Code]...
my SheevaPlug just died, and I need to look for new device to replace it. My goal is to build a fanless, low power consumption, linux server. Currently I am thinking of purchasing a QNAP NAS device (TS-110 model) and installing Debian on it.
View 2 Replies View Related