[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] vixie-cron



Hi everyone,

I try to use vixie crond on my project, but I encountered a compiling 
problem about strdup and strcasecmp function redefinition.

I think the problem is a symbol not defined in Makefile (-D__linux).

What do you think?

I attach the patch to solve (I hope) the problem.

Regards,

Pizza

-----------------------------------------
Luca Pizzamiglio
CEFRIEL - Embedded Systems Design Unit
Via Fucini, 2 - 20133 Milano
e-mail pizzamiglio@cefriel.it
Tel.   02 2395 4236
ICQ    5046978
-----------------------------------------
Index: user/vixie-cron/Makefile
===================================================================
RCS file: /var/cvs/uClinux-dist/user/vixie-cron/Makefile,v
retrieving revision 1.1.1.1
diff -u -b -B -w -p -r1.1.1.1 Makefile
--- user/vixie-cron/Makefile	2002/09/19 04:26:20	1.1.1.1
+++ user/vixie-cron/Makefile	2004/01/14 14:01:33
@@ -71,7 +71,7 @@ LINTFLAGS	=	-hbxa $(INCLUDE) $(COMPAT) $
 #<<want to use a nonstandard CC?>>
 #CC		=	vcc
 #<<manifest defines>>
-DEFS		=
+DEFS		=	-D__linux
 #(SGI IRIX systems need this)
 #DEFS		=	-D_BSD_SIGNALS -Dconst=
 #<<the name of the BSD-like install program>>