It was the header file format. I had used dos2unix to convert the format of the header into something readable in vi, but this must have changed the format of the header file somehow.
I placed the original dos formatted header file into /usr/include and it worked. Thanks for you help Nick. --- Chris Masters <[EMAIL PROTECTED]> wrote: > UPDATE - It's not a perl issue. > > > > >1 - I know the static (.a) C++ library works > > > because I > > > >can compile and run programs that use it. > > > > > > Any chance .a file was _in_ that directory. > > > > > > > It was. I'll check if this works otherwise. > > > > If I move the test cpp to /tmp and try and compile, > it > fails. The header file is located in /usr/include. > > It succeeds if I move the header file into /tmp. > > So this isn't a perl-XS issue!! > > However, why would linking fail if the header is in > /usr/include?? > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" > Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus
