Oh crap.

All the  easy answers are exhausted ....

Drop me a personal email and lets figure this out.

Philip

On 07/16/2010 07:04 PM, alfa...@aol.com wrote:
yep they're all there





  al



-----Original Message-----
From: Philip Balister<phi...@balister.org>
To: Discussion of the angstrom distribution 
development<angstrom-distro-devel@linuxtogo.org>
Sent: Fri, Jul 16, 2010 4:10 pm
Subject: Re: [Angstrom-devel] Native compilation and library linking on 
beagleboard using angstrom


On 07/16/2010 03:59 PM, alfa...@aol.com wrote:
I already installed the dev packages "fftw3"&   "fftw3-dev"&   "libfftw"

Are the header files in the include directory?

Philip





   al



-----Original Message-----
From: Philip Balister<phi...@balister.org>
To: Discussion of the angstrom distribution 
development<angstrom-distro-devel@linuxtogo.org>
Sent: Fri, Jul 16, 2010 3:13 pm
Subject: Re: [Angstrom-devel] Native compilation and library linking on 
beagleboard using angstrom


ffOn 07/16/2010 02:54 PM, alfa...@aol.com wrote:
Hi, I'm running into some issues linking against libraries.  I'm running a 
"console-image" Angstrom on the Beagleboad and I've been adding packages as 
necessary to support compiling code directly on the board.

To support building packages on the BB, I bitbaked "package-native-sdk" and 
"pkg-config" and installed those packages with all the other dependencies as indicated by 
opkg: gcc, libgcc, automake, perl, .... etc.

Now I'm trying to compile a program natively that links against fftw3 library so I 
bitbaked and installed the fftw3 library: the libfftw3, fftw3, and fftw3-dev.  Now to 
link to fftw3 I added the "-L /usr/lib -lfftw3" flags for link but i would get 
the error message

cannot find -lfftw3
collect2: ld returned 1 exit status

I also tried using "pkg-config --libs fftw3" in my Makefile and I still get the 
same error message.  I don't know why GCC can't seem to find the library especially that 
pkg-config and ldconfig have links to the library.  The following are outputs from 
pkg-config and ldconfig

ldconfig -v | grep fftw
       libfftw3.so.3 ->    libfftw3.so.3.2.2
       libfftw3f.so.3 ->    libfftw3f.so.3.2.2

pkg-config --list-all
fftw3f FFTW - fast Fourier transform library
fftw    FFTW - fast Fourier transform library
fftw3  FFTW - fast Fourier transform library


it seems to me that everything is in order but i'm probably missing something 
... any help would be greatly appreciated.  thanks

I bet you need the dev packages.

fftwf-dev and/or fftw-dev

Philip



al
=
_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to