Make Q's

Derek Atkins warlord at MIT.EDU
Fri Sep 18 11:55:27 EDT 2009


bruce.labitt at autoliv.com writes:

[snip]
> myfft.o:(.text+0x198): undefined reference to `memcpy_cell(void*, void 
> const*, unsigned long)'
[snip]
> myserver.o:(.text+0xd58): undefined reference to `pack(unsigned char*, 
> char*, ...)'
[snip]
> myserver.o:(.text+0xf74): undefined reference to `unpack(unsigned char*, 
> char*, ...)'
[snip]
>
> If someone could help me out, I would greatly appreciate it!  I've 
> successfully used fftw before, along with getflops.cpp, myfft.cpp, 
> savewisdom.cpp, and memcpy_cell.c in another project I created and used 6 
> months ago.

Where are these three functions defined?

Perhaps you need an 'extern "C"' in there so C++ knows how to call the C
functions?

> Help!
> -Bruce

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnhlug-discuss mailing list