Compiling openss7 on Kubuntu Karmic: Can't find the kernel files
Hi!
I'm, trying to compile openss7 on a kubuntu karmic box. When i do the configure, the process always says it can't find the kernel headers. I've tried to pass them with --with-k-source both pointing to the kernel headers and to the source as well. It simply fails to do it. It doesn't break the configure process, however when compiling I get problems because of missing header files. I even took the task of changing the Makefile to pass CPPFLAGS but that took me to other problems. Coming back to the basics, when running ./configure --enable-autotest, I see this (this is on streams... the configure of the whole project took too long to run so I'm working on the directory that first reports problems): It does find the source: Code:
checking for kernel source directory... /usr/src/linux-source-2.6.31... yes Code:
checking for kernel config file... searching... Code:
checking for kernel header linux/namespace.h... no Code:
gcc -DHAVE_CONFIG_H -I. -I. -I. -DLFS=1 -imacros ./config.h -imacros ./include/sys/config.h -I. -I./include -I./include -nostdinc -iwithprefix include -DLINUX -D__KERNEL__ -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 '-DKBUILD_STR(s)=#s' '-DKBUILD_BASENAME=KBUILD_STR('`echo libLfS_specfs_a-specfs.o | sed -e 's,lib.*_a-,,;s,\.o,,;s,-,_,g'`')' -DMODULE -D__NO_VERSION__ -DEXPORT_SYMTAB -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -Wa,-mtune=generic32 -fstack-protector -fstack-protector-all -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -ffreestanding -c -o libLfS_specfs_a-specfs.o `test -f 'src/kernel/specfs.c' || echo './'`src/kernel/specfs.c Thanks in advance. |
The headers in e.g. /usr/src/linux-source-2.6.31
can be used this way : Code:
./configure CC="gcc -I/usr/src/linux-source-2.6.31/include/ -I/usr/include/" Code:
make CC="gcc -I/usr/src/linux-source-2.6.31/include/ -I/usr/include/" |
I'll try that back at home. In the meantime I'm on a jaunty box and the kernel detection is completely different though I only have the headers in this box. Compilation here fails nevertheless:
Again, from streams: Code:
$ LANG=en make |
http://www.openss7.org/download.html
OK, I remember those files. Not easy to compile. Most easy on older Linux's. ... Quote from the text : " Modifications to build under Fedora 2.6.22.5-49 kernel. These changes also support 2.6.22.9-91.fc7 kernel. Modifications to build under Fedora 2.6.25-45.fc9 and 2.6.26.5-45.fc9 kernels. Documented lib32gcc1 problem on Ubuntu. " ..... 'streams-0.9.x' and most of the other files ( but not all ) can be compiled with kernel 2.6.18.x , gcc-4.1 . I did that about a year ago. ( PCLinuxOS 2007.) And not for use, just to find out, if possible to compile it. May be more luck with the latest streams ? http://www.openss7.org/repos/tarball....9.2.4.tar.bz2 ..... EDIT EDIT : Seems to be no problem, as long as it is a supported kernel. Made a test compile on Scientific SL 5.3 ( = Redhat EL 5.3 = CentOS 5.3 ), kernel 2.6.18-128.1.14.el5 → no errors, openSS7. ..... Some of the files are available for / in Ubuntu ? ( You didn't tell, which functions, you intended to use.) sudo apt-get install libss7-1 Googling .. lis ubuntu .. http://www.google.com/search?hl=en&s...earch&aq=f&oq= QUOTE : " Ubuntu - LIS Ubuntu has a built in remote desktop client. The client uses VNC to more or less transmit a video of your computers screen to the remote machine. ..." ..... |
I have had the same problem like eantoranz.
I solved it by changing the operating system from ubuntu 9.04 to debian 5.0. Then I can do successful configure, make and make install. But after this I can execute only the netperf-Tool and not additional the iperf-Tool, which should be installed too. I don't use any special options by configure, so that the tool normally are in /usr/bin but there isn't it. Have anybody an idea, what's going wrong? Regards Frank |
@ Frank85 ... welcome to LQ.
'iperf' seems not to be made by default. cd iperf , ./configure && make , # make install provides /usr/bin/iperf ..... |
Thank you knudfl.
Now netperf and iperf are installed but I have a little problem: If I execute: netperf_sctp_stream -H SERVER_IP_ADDRESS I get an error shown below: Code:
/usr/bin/netperf -i 10,2 -I 99,5 -P 1 -l 60 -t SCTP_STREAM -H SERVER_IP_ADDRESS -- -m 64 -s 16M -S 16M Regards |
have you finiched the configuration of openSS7 layers?
because i do a succesful installation (configure, make and make install) ,i don't know now what'is the second step? Have anybody an idea and is there some manuals to help me? thanks for help!! |
I have no idea how to use it, but I have never seen
any other software installing that many manuals : man pages. Did you read some of those ? There is about a thousand ' man <command> ' for ss7. Some online manuals : http://www.openss7.org/manuals.html ..... |
the problem i don't now how to start sigtran service?
thanks frunk. |
all the packatge are installed and now i must start streams ,sigtran.. because i want to configure a sigtran stack,how can i do??
thanks for help!! |
@essafi
The only way to get answers, is to study all that documentation. Google .. man sigtran .. http://www.openss7.net/m3ua_man.html ""OpenSS7: Documentation: Man Pages: SIGTRAN Stack: M3UA OpenSS7 Project Manual Pages SIGTRAN Stack."" Google .. streams sigtran .. http://www.openss7.org/manuals/sigtran.pdf > > OpenSS7 STREAMS SIGTRAN Installation and Reference Manual ..... |
i have readen it but there isn't information about starting sigtran service
|
i have now an sctp association betwen two host client and server,so i can send message like 'hello world',I want now send a sigtran message ,how can I do it?
thanks for your help. |
All times are GMT -5. The time now is 11:29 AM. |