UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor deboleena18
Visitor
5,173 Views
Registered: ‎06-17-2013

Error: File name too long : Building linux-xilinx kernel

Jump to solution

hi i m getting the following error, irrespective of the make target

this is just one example with target as clean

 

droy@m4210-01 ~/linux-xlnx-master $ make ARCH=microblaze clean
scripts/Makefile.clean:17: /home/droy/linux-xlnx-master/drivers/net/ethernet/smsc/Makefile: File name too long
make[4]: stat: /home/droy/linux-xlnx-master/drivers/net/ethernet/smsc/Makefile: File name too long
make[4]: *** No rule to make target `/home/droy/linux-xlnx-master/drivers/net/ethernet/smsc/Makefile'.  Stop.
make[3]: *** [drivers/net/ethernet/smsc] Error 2
make[2]: *** [drivers/net/ethernet] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [_clean_drivers] Error 2

 

additional info

downloaded linux-xilinx kernel from xilinx github

board - ml509 (xupv5lx110t)

 

this is my first time with linux on fpga´s, so please tell me what i m missing and what can be done.

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
Visitor deboleena18
Visitor
6,778 Views
Registered: ‎06-17-2013

Re: Error: File name too long : Building linux-xilinx kernel

Jump to solution

the problem was in the makefile,

it was not a file but somekind of a link to a set of commands

 

droy@m4210-01 ~/xlnx $ cd /home/droy/xlnx/drivers/net/ethernet/smsc/
droy@m4210-01 ~/xlnx/drivers/net/ethernet/smsc $ ls -l
total 512
-rw-r--r-- 1 droy droy 45583 Apr  4 01:48 epic100.c
-rw-r--r-- 1 droy droy  4598 Apr  4 01:48 Kconfig
lrwxrwxrwx 1 droy droy   312 Jun 13 15:32 Makefile -> #?# Makefile for the SMSC network device drivers.?#??obj-$(CONFIG_SMC9194) += smc9194.o?obj-$(CONFIG_SMC91X) += smc91x.o?obj-$(CONFIG_PCMCIA_SMC91C92) += smc91c92_cs.o?obj-$(CONFIG_EPIC100) += epic100.o?obj-$(CONFIG_SMSC9420) += smsc9420.o?obj-$(CONFIG_SMC911X) += smc911x.o?obj-$(CONFIG_SMSC911X) += smsc911x.o?
-rw-r--r-- 1 droy droy 58586 Apr  4 01:48 smc911x.c
-rw-r--r-- 1 droy droy 32949 Apr  4 01:48 smc911x.h
-rw-r--r-- 1 droy droy 44236 Apr  4 01:48 smc9194.c
-rw-r--r-- 1 droy droy  6859 Apr  4 01:48 smc9194.h
-rw-r--r-- 1 droy droy 60215 Apr  4 01:48 smc91c92_cs.c
-rw-r--r-- 1 droy droy 63310 Apr  4 01:48 smc91x.c
-rw-r--r-- 1 droy droy 35322 Apr  4 01:48 smc91x.h
-rw-r--r-- 1 droy droy 70041 Apr  4 01:48 smsc911x.c
-rw-r--r-- 1 droy droy 12546 Apr  4 01:48 smsc911x.h
-rw-r--r-- 1 droy droy 44674 Apr  4 01:48 smsc9420.c
-rw-r--r-- 1 droy droy  8584 Apr  4 01:48 smsc9420.h

 

so i instead created a makefile and put the the commands in that and it worked.

0 Kudos
2 Replies
Visitor deboleena18
Visitor
6,779 Views
Registered: ‎06-17-2013

Re: Error: File name too long : Building linux-xilinx kernel

Jump to solution

the problem was in the makefile,

it was not a file but somekind of a link to a set of commands

 

droy@m4210-01 ~/xlnx $ cd /home/droy/xlnx/drivers/net/ethernet/smsc/
droy@m4210-01 ~/xlnx/drivers/net/ethernet/smsc $ ls -l
total 512
-rw-r--r-- 1 droy droy 45583 Apr  4 01:48 epic100.c
-rw-r--r-- 1 droy droy  4598 Apr  4 01:48 Kconfig
lrwxrwxrwx 1 droy droy   312 Jun 13 15:32 Makefile -> #?# Makefile for the SMSC network device drivers.?#??obj-$(CONFIG_SMC9194) += smc9194.o?obj-$(CONFIG_SMC91X) += smc91x.o?obj-$(CONFIG_PCMCIA_SMC91C92) += smc91c92_cs.o?obj-$(CONFIG_EPIC100) += epic100.o?obj-$(CONFIG_SMSC9420) += smsc9420.o?obj-$(CONFIG_SMC911X) += smc911x.o?obj-$(CONFIG_SMSC911X) += smsc911x.o?
-rw-r--r-- 1 droy droy 58586 Apr  4 01:48 smc911x.c
-rw-r--r-- 1 droy droy 32949 Apr  4 01:48 smc911x.h
-rw-r--r-- 1 droy droy 44236 Apr  4 01:48 smc9194.c
-rw-r--r-- 1 droy droy  6859 Apr  4 01:48 smc9194.h
-rw-r--r-- 1 droy droy 60215 Apr  4 01:48 smc91c92_cs.c
-rw-r--r-- 1 droy droy 63310 Apr  4 01:48 smc91x.c
-rw-r--r-- 1 droy droy 35322 Apr  4 01:48 smc91x.h
-rw-r--r-- 1 droy droy 70041 Apr  4 01:48 smsc911x.c
-rw-r--r-- 1 droy droy 12546 Apr  4 01:48 smsc911x.h
-rw-r--r-- 1 droy droy 44674 Apr  4 01:48 smsc9420.c
-rw-r--r-- 1 droy droy  8584 Apr  4 01:48 smsc9420.h

 

so i instead created a makefile and put the the commands in that and it worked.

0 Kudos
Newbie andrewop
Newbie
3,885 Views
Registered: ‎08-20-2014

Re: Error: File name too long : Building linux-xilinx kernel

Jump to solution

Hello

 

use long path tool, it is easy to use and solve your problem

 

_______________

0 Kudos