Thread: [RTnet-developers] rtnet-3.9.12 .amd64 rtai-3.8.1 build fail
Brought to you by:
bet-frogger,
kiszka
|
From: luxInteg <lux...@bt...> - 2011-02-28 19:06:24
|
Greetings, I attempt to compile rtnet-0.9.12 on a computer with these:- ---cpu amd64 2 cores ---linux 2.6.32.2, gcc-4.4.2, RTAI-3.9.12 I ran gconfig then make make ends as follows:- ############### make[1]: Entering directory `~/rtnet-0.9.12/scripts/kconfig' gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE - DCURSES_LOC="<ncurses.h>" -I~/rtnet-0.9.12/scripts/kconfig -c ~/rtnet-0.9.12/scripts/kconfig/lxdialog/checklist.c -o lxdialog/checklist.o gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE - DCURSES_LOC="<ncurses.h>" -I~/rtnet-0.9.12/scripts/kconfig -c ~/rtnet-0.9.12/scripts/kconfig/lxdialog/menubox.c -o lxdialog/menubox.o gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE - DCURSES_LOC="<ncurses.h>" -I~/rtnet-0.9.12/scripts/kconfig -c ~/rtnet-0.9.12/scripts/kconfig/lxdialog/textbox.c -o lxdialog/textbox.o gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE - DCURSES_LOC="<ncurses.h>" -I~/rtnet-0.9.12/scripts/kconfig -c ~/rtnet-0.9.12/scripts/kconfig/lxdialog/yesno.c -o lxdialog/yesno.o gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE - DCURSES_LOC="<ncurses.h>" -I~/rtnet-0.9.12/scripts/kconfig -c ~/rtnet-0.9.12/scripts/kconfig/lxdialog/inputbox.c -o lxdialog/inputbox.o gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE - DCURSES_LOC="<ncurses.h>" -I~/rtnet-0.9.12/scripts/kconfig -c ~/rtnet-0.9.12/scripts/kconfig/lxdialog/util.c -o lxdialog/util.o gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE - DCURSES_LOC="<ncurses.h>" -I~/rtnet-0.9.12/scripts/kconfig -c ~/rtnet-0.9.12/scripts/kconfig/lxdialog/lxdialog.c -o lxdialog/lxdialog.o gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE - DCURSES_LOC="<ncurses.h>" -I~/rtnet-0.9.12/scripts/kconfig -c ~/rtnet-0.9.12/scripts/kconfig/lxdialog/msgbox.c -o lxdialog/msgbox.o gcc -o lxdialog/lxdialog lxdialog/checklist.o lxdialog/menubox.o lxdialog/textbox.o lxdialog/yesno.o lxdialog/inputbox.o lxdialog/util.o lxdialog/lxdialog.o lxdialog/msgbox.o -lncurses gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer - I~/rtnet-0.9.12/scripts/kconfig -c ~/rtnet-0.9.12/scripts/kconfig/mconf.c gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer - I~/rtnet-0.9.12/scripts/kconfig -fPIC -c zconf.tab.c lex.zconf.c:2969: warning: 'input' defined but not used gcc -shared -o libkconfig.so zconf.tab.o gcc -o mconf mconf.o libkconfig.so -Wl,-rpath,~/rtnet-0.9.12/scripts/kconfig [?1049h[1;24r(B[m[4l[?7h[?1h=# # using defaults found in defconfig # interrupted(11) make[1]: *** [menuconfig] Error 1 ######### advice/help would be appreciated sincerely lux-integ |
|
From: Jan K. <jan...@we...> - 2011-02-28 19:42:58
Attachments:
signature.asc
|
On 2011-02-28 21:10, luxInteg wrote: > Greetings, > > > > I attempt to compile rtnet-0.9.12 on a computer with these:- > > ---cpu amd64 2 cores > ---linux 2.6.32.2, gcc-4.4.2, RTAI-3.9.12 > > > I ran gconfig then make May not work, probably unused for too long. Does "make menuconfig" behave better? Jan |
|
From: luxInteg <lux...@bt...> - 2011-03-01 00:25:30
|
On Monday 28 February 2011 19:42:51 Jan Kiszka wrote: > On 2011-02-28 21:10, luxInteg wrote: > > Greetings, > > > > > > > > I attempt to compile rtnet-0.9.12 on a computer with these:- > > > > ---cpu amd64 2 cores > > ---linux 2.6.32.2, gcc-4.4.2, RTAI-3.9.12 > > > > > > I ran gconfig then make > > May not work, probably unused for too long. Does "make menuconfig" > behave better? > thanks for the suggestion but sadly little progress. I did the following: a) ran make menuconfig as non-priv user saved the config but on makefile generation this was reported:- configure error : line 11560 .: .retnet_config file not found ### RT-extended kernel not found b) My RTAI patched kernel did not have a symbolic link to /usr/src/linux and I was not working as root so I fixed both of these did a 'make clean' and ran 'make menuconfig' again. The result was as before. |
|
From: Jan K. <jan...@we...> - 2011-03-01 05:35:32
Attachments:
signature.asc
|
On 2011-03-01 02:29, luxInteg wrote: > On Monday 28 February 2011 19:42:51 Jan Kiszka wrote: >> On 2011-02-28 21:10, luxInteg wrote: >>> Greetings, >>> >>> >>> >>> I attempt to compile rtnet-0.9.12 on a computer with these:- >>> >>> ---cpu amd64 2 cores >>> ---linux 2.6.32.2, gcc-4.4.2, RTAI-3.9.12 >>> >>> >>> I ran gconfig then make >> >> May not work, probably unused for too long. Does "make menuconfig" >> behave better? >> > thanks for the suggestion but sadly little progress. > > I did the following: > > a) ran make menuconfig as non-priv user saved the config but on > makefile generation this was reported:- > > configure error : line 11560 > .: .retnet_config file not found > ### RT-extended kernel not found Please post full and original console log from "make menuconfig" until the error message. Jan |
|
From: Jan K. <jan...@we...> - 2011-03-02 08:16:40
Attachments:
signature.asc
|
On 2011-03-01 17:27, bvl wrote: > On Tuesday 01 March 2011 05:35:14 Jan Kiszka wrote: >> On 2011-03-01 02:29, luxInteg wrote: >>> On Monday 28 February 2011 19:42:51 Jan Kiszka wrote: >>>> On 2011-02-28 21:10, luxInteg wrote: >>>>> Greetings, >>>>> >>>>> >>>>> >>>>> I attempt to compile rtnet-0.9.12 on a computer with these:- >>>>> >>>>> ---cpu amd64 2 cores >>>>> ---linux 2.6.32.2, gcc-4.4.2, RTAI-3.9.12 >>>>> >>>>> >>>>> I ran gconfig then make >>>> >>>> May not work, probably unused for too long. Does "make menuconfig" >>>> behave better? >>> >>> thanks for the suggestion but sadly little progress. >>> >>> I did the following: >>> >>> a) ran make menuconfig as non-priv user saved the config but on >>> makefile generation this was reported:- >>> >>> configure error : line 11560 >>> .: .retnet_config file not found >>> ### RT-extended kernel not found >> >> Please post full and original console log from "make menuconfig" until >> the error message. >> >> Jan > > herewith > > make[1]: Entering directory `/home/RT/rtnet-0.9.12/scripts/kconfig' > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE - > DCURSES_LOC="<ncurses.h>" -I/home/RT/rtnet-0.9.12/scripts/kconfig -c > /home/RT/rtnet-0.9.12/scripts/kconfig/lxdialog/checklist.c -o > lxdialog/checklist.o > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE - > DCURSES_LOC="<ncurses.h>" -I/home/RT/rtnet-0.9.12/scripts/kconfig -c > /home/RT/rtnet-0.9.12/scripts/kconfig/lxdialog/menubox.c -o lxdialog/menubox.o > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE - > DCURSES_LOC="<ncurses.h>" -I/home/RT/rtnet-0.9.12/scripts/kconfig -c > /home/RT/rtnet-0.9.12/scripts/kconfig/lxdialog/textbox.c -o lxdialog/textbox.o > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE - > DCURSES_LOC="<ncurses.h>" -I/home/RT/rtnet-0.9.12/scripts/kconfig -c > /home/RT/rtnet-0.9.12/scripts/kconfig/lxdialog/yesno.c -o lxdialog/yesno.o > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE - > DCURSES_LOC="<ncurses.h>" -I/home/RT/rtnet-0.9.12/scripts/kconfig -c > /home/RT/rtnet-0.9.12/scripts/kconfig/lxdialog/inputbox.c -o > lxdialog/inputbox.o > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE - > DCURSES_LOC="<ncurses.h>" -I/home/RT/rtnet-0.9.12/scripts/kconfig -c > /home/RT/rtnet-0.9.12/scripts/kconfig/lxdialog/util.c -o lxdialog/util.o > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE - > DCURSES_LOC="<ncurses.h>" -I/home/RT/rtnet-0.9.12/scripts/kconfig -c > /home/RT/rtnet-0.9.12/scripts/kconfig/lxdialog/lxdialog.c -o > lxdialog/lxdialog.o > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE - > DCURSES_LOC="<ncurses.h>" -I/home/RT/rtnet-0.9.12/scripts/kconfig -c > /home/RT/rtnet-0.9.12/scripts/kconfig/lxdialog/msgbox.c -o lxdialog/msgbox.o > gcc -o lxdialog/lxdialog lxdialog/checklist.o lxdialog/menubox.o > lxdialog/textbox.o lxdialog/yesno.o lxdialog/inputbox.o lxdialog/util.o > lxdialog/lxdialog.o lxdialog/msgbox.o -lncurses > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer - > I/home/RT/rtnet-0.9.12/scripts/kconfig -c > /home/RT/rtnet-0.9.12/scripts/kconfig/mconf.c > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer - > I/home/RT/rtnet-0.9.12/scripts/kconfig -fPIC -c zconf.tab.c > lex.zconf.c:2969: warning: 'input' defined but not used > gcc -shared -o libkconfig.so zconf.tab.o > gcc -o mconf mconf.o libkconfig.so -Wl,- > rpath,/home/RT/rtnet-0.9.12/scripts/kconfig > [?1049h[1;24r(B[m[4l[?7h[?1h=# > # using defaults found in ../../.rtnet_config > # > interrupted(11) Interrupted? What did you do? Are you using some non-standard terminal? Jan > make[1]: *** [menuconfig] Error 1 > make[1]: Leaving directory `/home/RT/rtnet-0.9.12/scripts/kconfig' > make: *** [mconf] Error 2 > > ----------- > and same result whether run as root or normal user |
|
From: Jan K. <jan...@we...> - 2011-03-11 00:23:27
Attachments:
signature.asc
|
On 2011-03-10 17:17, bvl wrote: > On Wednesday 02 March 2011 08:16:29 Jan Kiszka wrote: > >>> herewith >>> >>> make[1]: Entering directory `/home/RT/rtnet-0.9.12/scripts/kconfig' >>> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE - >>> DCURSES_LOC="<ncurses.h>" -I/home/RT/rtnet-0.9.12/scripts/kconfig -c >>> /home/RT/rtnet-0.9.12/scripts/kconfig/lxdialog/checklist.c -o >>> lxdialog/checklist.o >>> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE - >>> DCURSES_LOC="<ncurses.h>" -I/home/RT/rtnet-0.9.12/scripts/kconfig -c >>> /home/RT/rtnet-0.9.12/scripts/kconfig/lxdialog/menubox.c -o >>> lxdialog/menubox.o gcc -Wall -Wstrict-prototypes -O2 >>> -fomit-frame-pointer -DLOCALE - DCURSES_LOC="<ncurses.h>" >>> -I/home/RT/rtnet-0.9.12/scripts/kconfig -c >>> /home/RT/rtnet-0.9.12/scripts/kconfig/lxdialog/textbox.c -o >>> lxdialog/textbox.o gcc -Wall -Wstrict-prototypes -O2 >>> -fomit-frame-pointer -DLOCALE - DCURSES_LOC="<ncurses.h>" >>> -I/home/RT/rtnet-0.9.12/scripts/kconfig -c >>> /home/RT/rtnet-0.9.12/scripts/kconfig/lxdialog/yesno.c -o >>> lxdialog/yesno.o gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer >>> -DLOCALE - DCURSES_LOC="<ncurses.h>" >>> -I/home/RT/rtnet-0.9.12/scripts/kconfig -c >>> /home/RT/rtnet-0.9.12/scripts/kconfig/lxdialog/inputbox.c -o >>> lxdialog/inputbox.o >>> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE - >>> DCURSES_LOC="<ncurses.h>" -I/home/RT/rtnet-0.9.12/scripts/kconfig -c >>> /home/RT/rtnet-0.9.12/scripts/kconfig/lxdialog/util.c -o lxdialog/util.o >>> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE - >>> DCURSES_LOC="<ncurses.h>" -I/home/RT/rtnet-0.9.12/scripts/kconfig -c >>> /home/RT/rtnet-0.9.12/scripts/kconfig/lxdialog/lxdialog.c -o >>> lxdialog/lxdialog.o >>> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE - >>> DCURSES_LOC="<ncurses.h>" -I/home/RT/rtnet-0.9.12/scripts/kconfig -c >>> /home/RT/rtnet-0.9.12/scripts/kconfig/lxdialog/msgbox.c -o >>> lxdialog/msgbox.o gcc -o lxdialog/lxdialog lxdialog/checklist.o >>> lxdialog/menubox.o lxdialog/textbox.o lxdialog/yesno.o >>> lxdialog/inputbox.o lxdialog/util.o lxdialog/lxdialog.o >>> lxdialog/msgbox.o -lncurses >>> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer - >>> I/home/RT/rtnet-0.9.12/scripts/kconfig -c >>> /home/RT/rtnet-0.9.12/scripts/kconfig/mconf.c >>> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer - >>> I/home/RT/rtnet-0.9.12/scripts/kconfig -fPIC -c zconf.tab.c >>> lex.zconf.c:2969: warning: 'input' defined but not used >>> gcc -shared -o libkconfig.so zconf.tab.o >>> gcc -o mconf mconf.o libkconfig.so -Wl,- >>> rpath,/home/RT/rtnet-0.9.12/scripts/kconfig >>> [?1049h[1;24r(B[m[4l[?7h[?1h=# >>> # using defaults found in ../../.rtnet_config >>> # >>> interrupted(11) >> >> Interrupted? What did you do? Are you using some non-standard terminal? >> >> Jan >> >>> make[1]: *** [menuconfig] Error 1 >>> make[1]: Leaving directory `/home/RT/rtnet-0.9.12/scripts/kconfig' >>> make: *** [mconf] Error 2 >>> >>> ----------- >>> and same result whether run as root or normal user > > I have fixed the problem, it was due to optimised clflags. Once I > disabled these rtnet-3.9.12 compiles on the x86_64 (pure64-bit) setup I use. Interesting. What's your compiler version? > > Incidently attempts to compile rtfirewire on the said machine ( with or > without optimised cflags) resulted in the message 'unsupported platform' > on running the configure script. Attempts to compile rtnet with the switch > --enable-ftfirewire understandably fails as all the headers are missing > presumably from the prefix of installed rtfirewire. This begs the > question:- > > Is there a way to compile rtnet with rtfiirewire support using the source- > code of rtfirewire? rtfirewire bitrotted severely over the past years. I doubt you will easily make it work over current versions without touching code and build system. Jan |