|
From: Daniel K. <ko...@li...> - 2004-12-13 09:19:09
|
On Sun, Dec 12, 2004 at 08:43:13PM -0700, Dean Kolosiek wrote: > It built when I used ./configure CFLAGS="-fPIC -O1" to turn on minimal > optimization. Without -O dovlc.o was generated with an actual call to > dv_peek_vlc, but there is no .o with a separate dv_peek_vlc that can be > called, so the link failed. dv_peek_vlc was written to always be inlined. > The problem wasn't the presence of -fPIC, it was the lack of -O. extern inline functions are not instantiated as separate functions. Therefore it's usually preferable to declare them as static inline. The attached patch should help. Regards, Daniel. |