linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* can4linux compilation for i.mx25 under 2.6.39
@ 2012-05-30 11:39 Martin Kozusky
  2012-05-30 11:50 ` Marc Kleine-Budde
  0 siblings, 1 reply; 20+ messages in thread
From: Martin Kozusky @ 2012-05-30 11:39 UTC (permalink / raw)
  To: linux-can

Hello,
I downloaded latest sources of can4linux from svn and I'm trying to 
compile it for 2.6.39 kernel (i.mx25 driver).
I edit cross-imx25 with proper compiler settings etc then ". 
cross-imx25" and "make"

There are some errors like
core.c:441:12: error: 'CAN1_BASE_ADDR' undeclared
core.c:452:11: error: 'MXC_INT_CAN1' undeclared

I can change CAN1_BASE_ADDR to MX25_CAN1_BASE_ADDR and MXC_INT_CAN1 to 
MX25_INT_CAN1, but there is error

imx35.c:18:26: fatal error: mach/mxc_can.h: No such file or directory

Does anybody have idea where do I get this file? When I comment this 
line, compilation continues and stops at

imx35.c:113:18: error: dereferencing pointer to incomplete type

Does it have anything to do with Karo tx25 board? (which I'm not using)
I already have CAN running using SocketCAN, but I also wanted to try 
can4linux.

Thanks for any help,
Martin


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2012-06-01 11:23 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-30 11:39 can4linux compilation for i.mx25 under 2.6.39 Martin Kozusky
2012-05-30 11:50 ` Marc Kleine-Budde
2012-05-30 12:05   ` Martin Kozusky
2012-05-30 12:08     ` Martin Kozusky
2012-05-30 12:18       ` Marc Kleine-Budde
2012-05-30 12:34         ` Martin Kozusky
2012-05-30 12:37           ` Marc Kleine-Budde
2012-05-30 12:16     ` Marc Kleine-Budde
2012-05-30 12:29       ` Martin Kozusky
2012-05-30 12:40         ` Marc Kleine-Budde
2012-05-30 12:50           ` Martin Kozusky
2012-05-30 13:18             ` Marc Kleine-Budde
2012-05-30 13:26               ` Martin Kozusky
2012-05-30 14:18                 ` Marc Kleine-Budde
2012-05-31 13:29                   ` Martin Kozusky
2012-05-31 13:42                     ` Marc Kleine-Budde
2012-05-31 16:28                       ` Oliver Hartkopp
2012-06-01  8:12                         ` Martin Kozusky
2012-06-01 11:22                           ` Oliver Hartkopp
2012-06-01  6:19                       ` Martin Kozusky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).