git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Broken dependencies..

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 27, 2007, 23:55 UTC
Message-ID
<Pine.LNX.4.63.0702280053140.22628@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<Pine.LNX.4.64.0702271543080.12485@woody.linux-foundation.org>
Hi,
On Tue, 27 Feb 2007, Linus Torvalds wrote:
> 	/home/torvalds/git/fetch.c:137: undefined reference to `type_names'
> 	fetch.o: In function `typename':
I realized that too, and forgot to send out the patch:

-- snip -- [PATCH] fetch.o depends on the headers, too.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 20acc78..ce284fa 100644
--- a/Makefile
+++ b/Makefile
@@ -788,7 +788,7 @@ git-http-push$X: revision.o http.o http-push.o $(GITLIBS)
 	$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
 		$(LIBS) $(CURL_LIBCURL) $(EXPAT_LIBEXPAT)
 
-$(LIB_OBJS) $(BUILTIN_OBJS): $(LIB_H)
+$(LIB_OBJS) $(BUILTIN_OBJS) fetch.o: $(LIB_H)
 $(patsubst git-%$X,%.o,$(PROGRAMS)): $(LIB_H) $(wildcard */*.h)
 $(DIFF_OBJS): diffcore.h
 
-- snap --

Ciao,
Dscho
Previous: Linus TorvaldsNext: Andy Parkins
Message 2 of 4 in “Broken dependencies..”
  1. Linus TorvaldsFeb 27, 2007
  2. Johannes SchindelinFeb 27, 2007
  3. Andy ParkinsFeb 28, 2007
  4. Johannes SchindelinFeb 28, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.