I'm packaging uClibc for Debian. When I ran `make install_dev`, I got several errors, including "ln: creating symbolic link debian/tmp/uclibc-dev/user/lib// No such file or directory". The double slash at the end was causing the error, so I looked at Makefile.in and found this line:
$(LN) -sf $(RUNTIME_PREFIX_LIB_FROM_DEVEL_PREFIX_LIB)$$i.$(MAJOR_VERSION) \ $(PREFIX)$(DEVEL_PREFIX)$(MULTILIB_DIR)/$$i; MULTILIB_DIR was set to "lib" in my config file, so I looked at Rules.mak and found this: # Make certain these contain a final "/", but no "//"s. TARGET_SUBARCH:=$(call qstrip,$(shell grep -s '^TARGET_SUBARCH' $(top_builddir)/.config | $(SED) -e 's/^TARGET_SUBARCH=//')) ... snip ... MULTILIB_DIR:=$(strip $(subst //,/, $(subst ,/, $(call qstrip,$(MULTILIB_DIR))))) This block was adding the trailing slash to MULTILIB_DIR; I have no idea why. Here's my fix: MULTILIB_DIR:=$(call qstrip,$(MULTILIB_DIR)) I'm at commit d4ede2b0a4727c1f5236dd9308f09cbf7a39761a. -- Evan Kroske http://welcome2obscurity.blogspot.com/ The personal blog of Evan Kroske, novice software developer. _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
