[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems compiling



Mario, 

The compiler/linker process doesn't know where the pow10 function is
defined. Include the .o file which contains the pow10 definition on the
command line when you compile.



On Thu, Nov 05, 1998 at 03:51:38PM -0000, Mario Filipe wrote:
> Hi Everyone
> 
> Can someone explainwhy the following happens :
> 
> 14:53:09# gcc -O2 -o iwconfig iwconfig.c -lm    
> /tmp/ccc10981: In function `float2freq':
> /tmp/ccc10981(.text+0x53): undefined reference to `pow10'
> /tmp/ccc10981: In function `freq2float':
> /tmp/ccc10981(.text+0xdd): undefined reference to `pow10'
> /tmp/ccc10981: In function `get_info':
> /tmp/ccc10981(.text+0x691): undefined reference to `pow10'
> /tmp/ccc10981: In function `set_info':
> /tmp/ccc10981(.text+0x86f): undefined reference to `pow10'
> /tmp/ccc10981(.text+0xc35): undefined reference to `pow10'
> 
> THanks!
> 
>         Mario Filipe 
>         mjnf@uevora.pt
> ----->  http://neptuno.sc.uevora.pt/~mjnf <-----





-- 
Jim Foltz <aa204@acorn.net>


Reply to: