2.5.21 drivers/net/hamradio/soundmodem/gentbl needs -lm
Keith Owens wrote
Quoted 7 lines
drivers/net/hamradio/soundmodem/tmp/cc6m8eDA.o: In function `gentbl_offscostab':
/tmp/cc6m8eDA.o(.text+0x64): undefined reference to `cos'
...MakefileusesHOST_LOADLIBESinstead ofHOST_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.