Turns out that it really was my fault on this.  This is a warning for anyone who is trying to use OpenCV on the gumstix: you need to add -lm -ldl and -lpthread to the list of libraries to link to.  They do not mention it anywhere on the website, and it will compile and run just fine on an x86 platform, but on the Gumstix (and I'm assuming the ARM in general), you need to add those additional libraries.

Everything works great now!  Thanks for all who added their input.

On 10/4/07, Scott Kroll <skroll@gmail.com > wrote:
I am linking dynamically.  I will check the format once I get to my machine at my house.  I have a feeling I was not compiling my program correctly, or I was linking incorrectly.  I will try compiling from the command line.

On 10/4/07, Dave Hylands < dhylands@gmail.com> wrote:
Hi Scott,

On 10/4/07, Scott Kroll <skroll@gmail.com> wrote:
> Actually, Hello World works just fine, it's when I try to link to a library
> (one that was not in build root, I compiled myself passing proper parameters
> to ./configure).

Are you linking statically or dynamically?

You can check the format of the library by extracting the object files
from it (I normally do this in a subdirectory)

ar x libfoo.a

And then running the "file" command on the resulting object files to
confirm that they're for the ARM platform.

You can check .so files using the file command as well.

--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users