]> Git Repo - linux.git/commit
lib/Makefile: Fix oid_registry build dependency
authorTim Gardner <[email protected]>
Tue, 4 Dec 2012 19:52:28 +0000 (12:52 -0700)
committerRusty Russell <[email protected]>
Thu, 6 Dec 2012 06:55:01 +0000 (17:25 +1030)
commit527897ccd968c86ad3265d62962c8beccdb94e47
tree7432b19ca679dd2ad2ed1784f4ac4deb31817b5b
parentf3537f91f9be2ce5fcbaa1aa6d787ad0436daec6
lib/Makefile: Fix oid_registry build dependency

It is $(obj)/oid_registry.o that is dependent on $(obj)/oid_registry_data.c.
The object file cannot be built until $(obj)/oid_registry_data.c has been
generated.

A periodic and hard to reproduce parallel build failure is due to
this incorrect lib/Makefile dependency. The compile error is completely
disingenuous.

  GEN     lib/oid_registry_data.c
Compiling 49 OIDs
  CC      lib/oid_registry.o
gcc: error: lib/oid_registry.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
make[3]: *** [lib/oid_registry.o] Error 4

Cc: Andrew Morton <[email protected]>
Cc: Akinobu Mita <[email protected]>
Cc: Michel Lespinasse <[email protected]>
Cc: David Howells <[email protected]>
Cc: "David S. Miller" <[email protected]>
Signed-off-by: Tim Gardner <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
lib/Makefile
This page took 0.043236 seconds and 4 git commands to generate.