[BusyBox] [PATCH] bug in libbb/Makefile.in

Tito farmatito at tiscali.it
Thu Oct 9 14:35:10 UTC 2003


Hi to the list,

there is a little bug in  libbb/Makefile.in that makes it impossible  to compile busybox

ux.a ./libpwdgrp/libpwdgrp.a ./coreutils/libcoreutils/libcoreutils.a ./libbb/libbb.a  -Wl,--end-group
./libbb/libbb.a(full_write.o)(.text+0x23): In function `bb_full_write':
: undefined reference to `safe_write'
collect2: ld returned 1 exit status
make: *** [busybox] Error 1

Fix is easy:

--- libbb/Makefile_orig.in	2003-10-09 15:21:02.000000000 +0100
+++ libbb/Makefile.in	2003-10-09 15:20:21.000000000 +0100
@@ -40,7 +40,7 @@
 	perror_msg.c perror_msg_and_die.c print_file.c \
 	process_escape_sequence.c procps.c pwd2spwd.c pw_encrypt.c \
 	qmodule.c read_package_field.c recursive_action.c remove_file.c \
-	restricted_shell.c run_parts.c run_shell.c safe_read.c safe_strncpy.c \
+	restricted_shell.c run_parts.c run_shell.c safe_read.c safe_write.c safe_strncpy.c \
 	setup_environment.c simplify_path.c syscalls.c syslog_msg_with_name.c \
 	trim.c u_signal_names.c vdprintf.c verror_msg.c \
 	vherror_msg.c vperror_msg.c wfopen.c xconnect.c xgetcwd.c \

Thanks in advance and please apply.

Ciao, Tito.




More information about the busybox mailing list