[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Version question and "No rule to make target" question
From: |
Hongliang Wang |
Subject: |
RE: Version question and "No rule to make target" question |
Date: |
Mon, 22 Oct 2007 08:17:41 +0000 |
> From: address@hidden> To: address@hidden> Date: Mon, 22 Oct 2007 07:56:44
> +0000> Subject: Version question and "No rule to make target" question> > >
> Hello all,> > I am new to automake and have been struggling for a while. I
> have two questions and would appreciate if anyone could help.> > 1, My
> automake version is higher than 1.10, could that be possible?Sorry! my
> mistake!
> > address@hidden> automake --versionautomake (GNU automake) 1.6.3Written by
> > Tom Tromey <address@hidden>.> Copyright 2002 Free Software Foundation,
> > Inc.This is free software; see the source for copying conditions. There is
> > NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> > PURPOSE.2, After automake, the program complains,> > address@hidden>
> > makemake all-recursivemake[1]: Entering directory
> > `/export/guam/jigsaw/dev/jhwgu/src/jz'Making all in genmake[2]: Entering
> > directory `/export/guam/jigsaw/dev/jhwgu/src/jz/gen'make[2]: *** No rule to
> > make target `zizutil.c', needed by `zizutil.o'. Stop.make[2]: Leaving
> > directory `/export/guam/jigsaw/dev/jhwgu/src/jz/gen'make[1]: ***
> > [all-recursive] Error 1make[1]: Leaving directory
> > `/export/guam/jigsaw/dev/jhwgu/src/jz'make: *** [all] Error 2> My
> > Makefile.am in jz/gen> ----------------------------------------->
> > noinst_LIBRARIES = libzizzy.alibzizzy_a_SOURCES = zizutil.c zizzy.c> >
> > configure.ac in jz> ----------------------------------------->
> > AC_PREREQ(2.57)#AC_INIT(FULL-PACKAGE-NAME, VERSION,
> > BUG-REPORT-ADDRESS)AC_INIT(zizzy, 0.1,
> > address@hidden)AM_INIT_AUTOMAKEAC_CONFIG_SRCDIR([config.h.in])AM_CONFIG_HEADER([config.h])>
> > # Checks for programs.AC_PROG_CC> # Checks for libraries.# FIXME: Replace
> > `main' with a function in `-lm':AC_CHECK_LIB([m], [main])> # Checks for
> > header
> > files.AC_FUNC_ALLOCAAC_HEADER_DIRENTAC_HEADER_STDCAC_CHECK_HEADERS([stdlib.h
> > string.h sys/time.h unistd.h])> # Checks for typedefs, structures, and
> > compiler
> > characteristics.AC_HEADER_STDBOOLAC_C_CONSTAC_TYPE_OFF_TAC_TYPE_PID_TAC_TYPE_SIZE_TAC_HEADER_TIMEAC_STRUCT_TMAC_C_VOLATILE>
> > # Checks for library
> > functions.AC_FUNC_CLOSEDIR_VOIDAC_FUNC_MALLOCAC_FUNC_STATAC_FUNC_VPRINTFAC_CHECK_FUNCS([memset
> > sqrt strchr strerror])#AC_CONFIG_SUBDIRS([gen ora util])AC_PROG_RANLIB>
> > AC_CONFIG_FILES([Makefile gen/Makefile ora/Makefile
> > util/Makefile])AC_OUTPUT> My origin Makefile in jz/gen>
> > -------------------------------> CC= gcc> CFLAGS= -I$(GEN) -Wall
> > -Werrorifdef OPTIMIZECFLAGS += -Oendififdef DEBUGCFLAGS += -g3endif# It
> > would be nicer if gmake has a define to identify the platform.# For now we
> > have to do with the IA64 command line define.ifdef IA64CFLAGS +=
> > -mlp64endif> AR= arARFLAGS= rcs> RM= rm -f> CP= cp -f> ZIZLIB = libzizzy.a>
> > .c.o: $(CC) $(CFLAGS) -c -o $@ $<> OBJS = zizzy.o zizutils.o> all :
> > $(ZIZLIB)> lib: $(ZIZLIB)> $(ZIZLIB): $(OBJS) $(AR) $(ARFLAGS) $@ $^>
> > clean: -$(RM) $(ZIZLIB) -$(RM) *.o> HDR= zizzy.h zizconf.h zizutils.h
> > zizread.h zizparse.h zizmsg.h> zizzy.o: zizzy.c $(HDR)zizutils.o:
> > zizutils.c $(HDR)> # End of File>
> > _________________________________________________________________> Invite
> > your mail contacts to join your friends list with Windows Live Spaces. It's
> > easy!>
> > http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces.
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us