Make Q's
    bruce.labitt at autoliv.com 
    bruce.labitt at autoliv.com
       
    Fri Sep 18 13:51:29 EDT 2009
    
    
  
Derek Atkins <warlord at MIT.EDU> wrote on 09/18/2009 11:55:27 AM:
> 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?
> 
memcpy_cell.c for memcpy_cell, pack.c for pack and unpack
> 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
******************************
Neither the footer nor anything else in this E-mail is intended to or constitutes an <br>electronic signature and/or legally binding agreement in the absence of an <br>express statement or Autoliv policy and/or procedure to the contrary.<br>This E-mail and any attachments hereto are Autoliv property and may contain legally <br>privileged, confidential and/or proprietary information.<br>The recipient of this E-mail is prohibited from distributing, copying, forwarding or in any way <br>disseminating any material contained within this E-mail without prior written <br>permission from the author. If you receive this E-mail in error, please <br>immediately notify the author and delete this E-mail.  Autoliv disclaims all <br>responsibility and liability for the consequences of any person who fails to <br>abide by the terms herein. <br>
******************************
    
    
More information about the gnhlug-discuss
mailing list