[uClinux-dev] Build error on dist-test
David McCullough
david_mccullough at au.securecomputing.com
Wed Jan 3 18:02:21 EST 2007
Jivin Brandon Fosdick lays it down ...
> 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?
Don't create the symlink, just create the directory or you can try
this:
$(ROMFSINST) -s bin /sbin
Cheers,
Davidm
--
David McCullough, david_mccullough at securecomputing.com, Ph:+61 734352815
Secure Computing - SnapGear http://www.uCdot.org http://www.cyberguard.com
More information about the uClinux-dev
mailing list