Linux Mint with RTAI

More
17 Nov 2016 13:13 #82894 by andypugh
Replied by andypugh on topic Linux Mint with RTAI
"Something" is trying to compile "something" with no connection to LinuxCNC and failing.

I suspect that the RTAI kernel you are trying to use ( 3.4-9 ) isn't the right one for the Mint version.

Please Log in or Create an account to join the conversation.

More
17 Nov 2016 14:01 #82896 by Patrick Obrien
Replied by Patrick Obrien on topic Linux Mint with RTAI

"Something" is trying to compile "something" with no connection to LinuxCNC and failing.

I suspect that the RTAI kernel you are trying to use ( 3.4-9 ) isn't the right one for the Mint version.


The version specified in this thread is 3.4-9, so rather than reinvent the wheel I am following the cookbook notes in this thread and hoping someone else had followed this thread an gotten past this error.

My PC is a HP C2 Duo so nothing tricky there.

Not sure why this is failing.

Please Log in or Create an account to join the conversation.

More
17 Nov 2016 14:15 #82897 by andypugh
Replied by andypugh on topic Linux Mint with RTAI
You probably don't even need ndiswrapper, and looking at the code:
sourceforge.net/p/ndiswrapper/code/HEAD/...wrapper/driver/crt.c
it isn't clear what particular devices use crt.c

Do you have a wireless network dongle plugged in?

Please Log in or Create an account to join the conversation.

More
17 Nov 2016 15:03 #82901 by Patrick Obrien
Replied by Patrick Obrien on topic Linux Mint with RTAI
I do, no cat 5 to the garage.

I will bring the PC into the house and start over.

Great catch Andy - thanks

I will report on the progress.

Please Log in or Create an account to join the conversation.

More
17 Nov 2016 18:59 #82915 by Patrick Obrien
Replied by Patrick Obrien on topic Linux Mint with RTAI
I reloaded from scratch with the dongle off and hardwired to the router.


DKMS make.log for ndiswrapper-1.59 for kernel 3.4-9-rtai-686-pae (i686)
Thu Nov 17 12:53:58 CST 2016
make: Entering directory `/usr/src/linux-headers-3.4-9-rtai-686-pae'
LD /var/lib/dkms/ndiswrapper/1.59/build/built-in.o
MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/crt_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/hal_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/ndis_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/ntoskernel_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/ntoskernel_io_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/rtl_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/usb_exports.h
CC [M] /var/lib/dkms/ndiswrapper/1.59/build/crt.o
/var/lib/dkms/ndiswrapper/1.59/build/crt.c: In function ‘_win_srand’:
/var/lib/dkms/ndiswrapper/1.59/build/crt.c:470:2: error: implicit declaration of
function ‘prandom_seed’ [-Werror=implicit-function-declaration]

cc1: some warnings being treated as errors
make[3]: *** [/var/lib/dkms/ndiswrapper/1.59/build/crt.o] Error 1
make[2]: *** [_module_/var/lib/dkms/ndiswrapper/1.59/build] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
make: Leaving directory `/usr/src/linux-headers-3.4-9-rtai-686-pae'

Please Log in or Create an account to join the conversation.

More
17 Nov 2016 19:13 #82916 by andypugh
Replied by andypugh on topic Linux Mint with RTAI
An idea from the IRC, you could try uninstalling ndiswrapper through the package manager, and see if things work better then.

Please Log in or Create an account to join the conversation.

More
17 Nov 2016 19:17 #82917 by tommylight
Replied by tommylight on topic Linux Mint with RTAI
Why use ndiswraper ? If i remember correctly there are other proprietary drivers for broadcom cards. Do you get any other option, like btxxx drivers ???
I do not have any of those, but i know that you get a choice of them in Linux Mint and Ubuntu when using the driver manager that comes with those distributions.
I know from experience that ndiswraper will mess up the system in 80% of installs, and some times irreversible.
Hold on leme read ............nope no mention of the wifi chipset, so i gues it is broadcom.

Please Log in or Create an account to join the conversation.

More
17 Nov 2016 19:31 - 17 Nov 2016 19:35 #82919 by Patrick Obrien
Replied by Patrick Obrien on topic Linux Mint with RTAI

An idea from the IRC, you could try uninstalling ndiswrapper through the package manager, and see if things work better then.


I will.
Last edit: 17 Nov 2016 19:35 by Patrick Obrien.

Please Log in or Create an account to join the conversation.

More
17 Nov 2016 19:34 #82921 by Patrick Obrien
Replied by Patrick Obrien on topic Linux Mint with RTAI

Why use ndiswraper ? If i remember correctly there are other proprietary drivers for broadcom cards. Do you get any other option, like btxxx drivers ???
I do not have any of those, but i know that you get a choice of them in Linux Mint and Ubuntu when using the driver manager that comes with those distributions.
I know from experience that ndiswraper will mess up the system in 80% of installs, and some times irreversible.
Hold on leme read ............nope no mention of the wifi chipset, so i gues it is broadcom.


I am following the cookbook notes in this thread exactly with no modifications. I installed from the downloaded Mint ISO with no additional software. The ndiswapper was unexpected. This is a standard HP Tower with no built in wireless.

Please Log in or Create an account to join the conversation.

More
17 Nov 2016 21:40 #82931 by Patrick Obrien
Replied by Patrick Obrien on topic Linux Mint with RTAI

An idea from the IRC, you could try uninstalling ndiswrapper through the package manager, and see if things work better then.


I will.


Andy - Thanks! That did it, I got past the ndis error.

Thankfully this is documented for the next guy.

Please Log in or Create an account to join the conversation.

Time to create page: 0.351 seconds
Powered by Kunena Forum