General :: Compile The CppUnit In RTEMS?
Jun 7, 2011
I am trying to compile cppunit in rtems. However, I keep getting this error when I run the make file. (as seen in red) The actual thing is way longer, but I just wanted to give a general idea of the make files. I believe that it may have something to do with libstdc++. Somewhere it is pulling that in and I am actually using g++.
/builddir/build/BUILD/rtems-4.10-i386-rtems4.10-gcc-4.4.6/build/i386-rtems4.10/l
ibstdc++-v3/include/fstream:826: undefined reference to `memmove'
/builddir/build/BUILD/rtems-4.10-i386-rtems4.10-gcc-4.4.6/build/i386-rtems4.10/l
ibstdc++-v3/include/fstream:826: undefined reference to `memmove'
[code]....
View 2 Replies
ADVERTISEMENT
Jun 3, 2011
I'm trying to follow this guide http://tech.blog.box.net/2007/06/20/how-to-debug-php-with-vim-and-xdebug-on-linux/ and I need to compile Vim with signs and python options.I have: downloaded the latest source with hg clone https://vim.googlecode.com/hg/ vim uncommented the signs feature in src/feature.hran ./configure --enable-perlinterp --enable-pythoninterp with no errorsran make with this output and errors that I don't understand and can't find on google:
$ make
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 -D_FORTIFY_SOURCE=1 -o objects/ex_cmds.o ex_cmds.c
[code]....
View 1 Replies
View Related
Feb 12, 2010
I have an issue with a specific piece of hardware running an Asterisk PBX. Basically it freezes at some times. I've noticed its running an SMP kernel (Centos 5.4), and i'm hoping i can disable this/recompile kernetl without SMP support. How can i do this?
It's running a VIA C7 cpu.
Code:
[root@localhost asterisk-1.4.29]# cat /proc/cpuinfo
processor : 0
vendor_id : CentaurHauls
cpu family : 6
[Code]....
How can i disable SMP, and see if its maybe this tha'ts causing the problems?
I have tried appending nosmp or maxcpus=0 and noreplace-smp to the kernel line in /boot/grub/menu.lst,but it keeps loading the smp kernel....
View 3 Replies
View Related
Apr 22, 2011
I want to create rpm from tar.gz, what I want to know is,
1= download tar.gz
2= untar this tar.gz file
3= run ./configure command.
4= now I want to create rpm file to install my package via rpm so I can uninstall easy and redistribute this rpm to my friends.
(or I have to run "make" command also after step 3, then go to step 4 to create rpm) please help me with step by step commands, so I can create rpm with my own compiled options of package.
View 6 Replies
View Related
Oct 14, 2010
I wanna compile tha kernel which is old one.how to do that.
View 8 Replies
View Related
Jun 24, 2010
Recently I've started to learn cpp language on linux,and now I run a cpp file using following commands. g++ -o xxx xxx.cpp./xxxIs there a way to make it one line command such as compile-and-run xxx.cpp?
View 5 Replies
View Related
May 25, 2011
Recently, I've installed vim like so:
hg clone https://vim.googlecode.com/hg/ vim
cd vim
sudo ./configure --enable-rubyinterp=yes --enable-pythoninterp=yes --enable-gui=gtk2 --prefix=/opt/vim
make
make install
make install clean
So, my VIM's binaries now live under /opt/vim/bin. Here is ls -la of this dir:
[Code]...
View 2 Replies
View Related
Apr 7, 2010
I have a linux source (linux-2.4.1) which is for intel. I am using powerpc compiler and I need to compile this linux source for powerpc. I did cross compilation, but it dint workout well. How to do it.
View 5 Replies
View Related
Dec 11, 2010
Recently i downloaded the stable version of kernel from kernel.org then i extract the tarball to /usr/src path , then after i complile the kernel for fuse and ext4 modulescommand which i use is mention below
[root@localhost linux-2.6.36.1]# make menuconfig
[root@localhost linux-2.6.36.1]# make
[root@localhost linux-2.6.36.1]# make modules
[code]...
View 2 Replies
View Related
Jul 14, 2010
I do a lot of programming and I have to compile the code quite often. It's not convenient to move to the directory that contains the source code every time I want to compile it. So is there a way to compile a code from the my current directory (say /home example) without moving to the directory that contains the source. I remember being able to do this but forgotten how.
EDIT: I'm using makefiles to compile. Lets say I'm in the home directory and when I type
make -f /code/make_file
this doesn't seem to work
View 4 Replies
View Related
May 24, 2010
I want to boot into a new kernel like 2.6.34 over the default 2.6.18 RH/centos kernel. i know you cant copy the .config file and use it since there are so many changes so what is the best way to compile the kernel and get the right settings?
View 1 Replies
View Related
Jun 2, 2010
I need to compile glibc.
What is this error ?
Code:
View 5 Replies
View Related
Apr 3, 2010
I'm looking for a good kernel guide for practical tips on how to compile my kernel for better speed. At the moment I'm using genkernel under gentoo and just taking the default options (with a splash). This compiles for ages and takes a good while to load.The kind of things I'm looking for are advice on:Removing modules from the kernel that are not loaded during normal use.Core components which can (and should) be loaded as non-modules for speed of boot.How to save and load kernel options so they don't have to be repeated every time I want to compile a kernel.
View 5 Replies
View Related
Dec 8, 2010
I am able to compile gstreamer just fine, but when I port it to the platform where I want to use gstreamer gst-inspect comes back with: "can't cd to /home/MY_HOME_FOLDER".
MY_HOME_FOLDER is the folder where gstreamer and all of its tools got compiled in.
So, how do I tell configure script (or whatever decides to remember this path) to use common Linux paths so when I port gst-inspect to /usr/bin it would work OK?
View 1 Replies
View Related
Jan 1, 2010
i tried to compile linux kernel 2.6.31 on Fedora 12: the make , make modules and modules install ran successfully but problem with make install while trying to create image it looks for mkinitrd command which is not available i downloaded and installed the mkinitrd pckg and make install was now successful i got kernel img and initrd img in /boot
also grub was updated properly but i m not able to boot up the new kernel the problem the initrd seems to be and uknown type file to fedora core and the current kernel has initramfs img with a .cpio extn instead of initrd
View 3 Replies
View Related
Aug 31, 2010
A while back I compiled a custom kernel, 2.6.35. I forgot to add UDF support when configuring and compiling. Will I need to re-compile the kernel to get UDF support or is there some other way I can add it?
View 6 Replies
View Related
Aug 1, 2011
I am gonna compile and install new kernel 3.0?
what is your suggestion?
shall i? on my duo Core? with 2.7 gb ram?
View 1 Replies
View Related
Jan 26, 2011
No matter which glibc I use, I get the error that I need a compiler that supports visibility. I'm using 4.4.5, so it can't be too old.What is the visibility for gnu, this is a compile for glibc.Any glibc fails for the same reason. I can't compile an older version of gcc, more errors. Is it possible to turn off the check for visibility?
View 1 Replies
View Related
May 15, 2011
pgm of mine is not getting compiled
#include<iostream>
int main()
{
cout<<"Hi
";
}//Saved as g.cpp
The foll. error is shown on compiling as c++ g.cpp or gcc c.cpp or cc g.cpp
and i've gcc 4.5
g.cpp: In function int main():
g.cpp:5:2: error: cout was not declared in this scope
v
View 1 Replies
View Related
Apr 5, 2010
so my problem is how to recompile my kerenl with TUN/TAP driver,i got how to compile the kernel with TUN/TAP driver every thing is going OK, when i run the commends , just in the last commend when i reboot my laptop i choose grub to enter on new kernel , but when i choose it , i got black screen .so please help me to solve this problem , for more information about my laptop , i have just one partition my root is (hd1,1). my ram is 2G, speed 2GHZ, i use Linux-2.6.27.42, but the new one is the last kernel available in website. i am in rush please inform me as soon as possible,
View 10 Replies
View Related
Nov 18, 2010
i have fedora 11(64 bit).i want to do the cross compilation for 32 bit arm processor.i install all required thing but any of the make command(make,make mrproper,defconfig) is not working.
View 8 Replies
View Related
Jan 26, 2011
i try to compile a c code which uses SSH library,but i get this error
Code:
libssh.h: No such file or directory
i searched and i found that This happens if a library used for linking is not present in the standard library directories used by gcc.
By default, gcc searches the following directories for header files:
/usr/local/include/
/usr/include/
and the following directories for libraries:
/usr/local/lib/
/usr/lib/
i update my libssh from libssh-0.4.2-1.fc13.i686 to libssh-0.4.6-1.fc13.i686, and there are files called libssh.so.4 and libssh.so.4.0.2 in /ur/lib, but i still can't compile it with this command:
gcc test.c
View 3 Replies
View Related
Nov 18, 2010
how compile our own application using busy box
View 4 Replies
View Related
Jul 6, 2010
i have downloaded .src.rpm file from net.i dont know how to compile that.can u tell me the basics of linux kernel compilation.how to compile a kernel. how to install or modify the existing running kernel with tat. etcI am using fedora 12 it has 2.6.31.5-127.fc12.i686.PAE
View 5 Replies
View Related
May 25, 2010
I am new in c++ progreming .
i have written lot of classes and main class of c++ in one file and compile successfully but now i have written all classes in different and main class in different file like this.code...
now how to compile and run these classes
View 1 Replies
View Related
Nov 13, 2010
I have found a complete guide on how to compile drivers to an existing application. I have setup a virtual machine, and already stuck at first point.
(here's the guide: http://wdtvforum.com/main/index.php?topic=1232.0)
would anyone be kind enough to guide me through this? I can't even get mkdir too work. lol
View 3 Replies
View Related
Oct 15, 2010
I am trying to build a source rpm file through a source rpm package but while compiling I am getting the below errors as,
[root@nisserver tmp]# ls
gconfd-root mapping-root ssh-kvrIrp2633
keyring-fgwCIY nmap-5.21-1.src.rpm virtual-root.2hSYRa
keyring-vx1pvB orbit-root
[root@nisserver tmp]# rpmbuild --rebuild nmap-5.21-1.src.rpm
Installing nmap-5.21-1.src.rpm
warning: user fyodor does not exist - using root
warning: group fyodor does not exist - using root
warning: user fyodor does not exist - using root
warning: group fyodor does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.49535 .....
RPM build errors:
user fyodor does not exist - using root
group fyodor does not exist - using root
user fyodor does not exist - using root
group fyodor does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.73783 (%build)
What next step need to be taken to install the rpm file from the source file.
View 6 Replies
View Related
Jan 12, 2011
I installed a fedora with kernel 2.6.15-1 (quite old, isn't it ?) on my vmware workstation and try to compile a new kernel with 2.6.15.2 just for testing. I download the kernel and compile with that:make menuconfig make modules-install install
then I reboot the server but if i choose the new kernel. the system poped up the error msg like : Unable to find device-mapper major/Minor No volume groups found unable to find volume group "VolGroup00"
Unable to access resume devices (/dev/VolGroup00/Logvol01)mount: could not find filesystem '/dev/root'
yes. I am using LVM to setup the fedora.
i search online and find some possible causes:
1) the .config does not contain support for LVM.
then i choose to enclude the support for LVM
2) need to re-create initrd i use commond initrd --force-lvm-probe to generate the .img file
But both the method do not work. and i notices that the new '2.6.15.2.img' is about 1.5M which is smaller than the current 2.6.15.1 img (1.7M)
View 14 Replies
View Related
Jan 16, 2010
I am trying to compile the Kommander on Red Hat Enterprise Linux 5. But when i try to run the configure, this is what happend:
[root@localhost kommander-1.5.3]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
[Code].....
How can i solve the "kde-config was not found?
View 6 Replies
View Related
Apr 28, 2011
I have /var set to 2.5G which I have not had a problem with until now.
I cant compile openoffice because /var runs out of space when I do so. On Gentoo /var is used to compile.
can I set a different perameter to compile openoffice(emerge oppenoffice) to have just this program compile in another location?
View 4 Replies
View Related