mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.5.21 drivers/net/hamradio/soundmodem/gentbl needs -lm
@ 2002-06-11  1:18 Keith Owens
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Owens @ 2002-06-11  1:18 UTC (permalink / raw)
  To: linux-kernel

drivers/net/hamradio/soundmodem
/tmp/cc6m8eDA.o: In function `gentbl_offscostab':
/tmp/cc6m8eDA.o(.text+0x64): undefined reference to `cos'
...
Makefile uses HOST_LOADLIBES instead of HOST_LOADLIBS.  That is what
happens when you use magic variables that cannot be syntax checked,
errors go undetected until somebody uses the option.

Not a problem for kbuild 2.5 of course, it has a syntax checker.


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

* Re: 2.5.21 drivers/net/hamradio/soundmodem/gentbl needs -lm
@ 2002-06-11  1:50 Keith Owens
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Owens @ 2002-06-11  1:50 UTC (permalink / raw)
  To: linux-kernel

Keith Owens wrote
>drivers/net/hamradio/soundmodem 
>/tmp/cc6m8eDA.o: In function `gentbl_offscostab': 
>/tmp/cc6m8eDA.o(.text+0x64): undefined reference to `cos' 
>... 
>Makefile uses HOST_LOADLIBES instead of HOST_LOADLIBS. That is what 
>happens when you use magic variables that cannot be syntax checked, 
>errors go undetected until somebody uses the option. 

Correction: HOST_LOADLIBES is correct, the wierd spelling threw me.

The real problem is the build system ignores HOST_LOADLIBES when
compiling programs directly from sources and not using intermediate
objects.


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

end of thread, other threads:[~2002-06-11  1:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-11  1:18 2.5.21 drivers/net/hamradio/soundmodem/gentbl needs -lm Keith Owens
2002-06-11  1:50 Keith Owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®