[uClinux-dev] Build error on dist-test
Brandon Fosdick
brandon at teslamotors.com
Wed Jan 3 13:33:51 EST 2007
I'm building for a largely default config, the only changes being
Vendor=Philips and Product=LPC2294. The build fails like so...
---
romfs-inst.sh -e CONFIG_USER_NET_TOOLS_ARP //sbin/arp
cp: cannot create regular file
`/home/bfoz/Downloads/uClinux-dist-test/romfs//sbin/arp': Permission denied
make[2]: *** [romfs] Error 1
make[2]: Leaving directory
`/home/bfoz/Downloads/uClinux-dist-test/user/net-tools'
make[1]: *** [romfs] Error 2
make[1]: Leaving directory `/home/bfoz/Downloads/uClinux-dist-test/user'
make: *** [romfs.subdirs] Error 1
---
romfs/sbin is a symlink to /bin, so the install script tries to install
arp in the host system's /bin. Good thing I wasn't building as root.
The culprit appears to be a conflict between
vendors/Philips/LPC2294/Makefile:49 which symlinks romfs/sbin to /bin
and user/net-tools/Makefile:100 which decides to install things in
romfs/sbin. Which one is correct? Break the link or install to romfs/bin?
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
More information about the uClinux-dev
mailing list