git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Broken dependencies..
@ 2007-02-27 23:46 Linus Torvalds
  2007-02-27 23:55 ` Johannes Schindelin
  2007-02-28  9:00 ` Andy Parkins
  0 siblings, 2 replies; 4+ messages in thread
From: Linus Torvalds @ 2007-02-27 23:46 UTC (permalink / raw)
  To: Junio C Hamano, Git Mailing List


Try this on the current git archive:

	git checkout master
	make clean
	make
	...
	git checkout next
	make

and at least I get 

	...
	gcc -g -O2 -Wall  -DSHA1_HEADER='<openssl/sha.h>' -DETC_GITCONFIG='"/home/torvalds/etc/gitconfig"' -DNO_STRLCPY -o git-local-fetch   local-fetch.o fetch.o libgit.a xdiff/lib.a -lz  -lcrypto
	fetch.o: In function `process_object':
	/home/torvalds/git/fetch.c:137: undefined reference to `type_names'
	fetch.o: In function `typename':
	/home/torvalds/git/object.h:46: undefined reference to `type_names'
	collect2: ld returned 1 exit status

apparently because fetch.c wasn't recompiled and it used the old fetch.o.

Ugh. I take full blame for the Makefile being a total mess, and us not 
doing proper dependencies, but I'm too lazy to fix it. Any ideas on how to 
generate real dependency data so that we don't have these kinds of things 
(I bet there are other files than just fetch.c that lack the full header 
file dependencies, this one just happened to trigger now)?

		Linus

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-28 15:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-27 23:46 Broken dependencies Linus Torvalds
2007-02-27 23:55 ` Johannes Schindelin
2007-02-28  9:00 ` Andy Parkins
2007-02-28 15:00   ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).