Hi all,

I just tried building the communications package against the
Octave.app 3.4.0 under Snow Leopard. I get the following error:

Undefined symbols for architecture i386:
  "_H5Gopen2", referenced from:
      octave_galois::load_hdf5(int, char const*, bool)in ov-galois.o
  "_H5Dopen2", referenced from:
      octave_galois::load_hdf5(int, char const*, bool)in ov-galois.o
  "_H5Dget_space", referenced from:
      octave_galois::load_hdf5(int, char const*, bool)in ov-galois.o
  "_H5Sget_simple_extent_ndims", referenced from:
      octave_galois::load_hdf5(int, char const*, bool)in ov-galois.o
  "_H5Dclose", referenced from:
      octave_galois::load_hdf5(int, char const*, bool)in ov-galois.o
      octave_galois::save_hdf5(int, char const*, bool)in ov-galois.o
  "_H5Gclose", referenced from:
      octave_galois::load_hdf5(int, char const*, bool)in ov-galois.o
      octave_galois::save_hdf5(int, char const*, bool)in ov-galois.o
  "_H5open", referenced from:
      octave_galois::load_hdf5(int, char const*, bool)in ov-galois.o
      octave_galois::save_hdf5(int, char const*, bool)in ov-galois.o
  "_H5Dread", referenced from:
      octave_galois::load_hdf5(int, char const*, bool)in ov-galois.o
  "_H5Sclose", referenced from:
      octave_galois::load_hdf5(int, char const*, bool)in ov-galois.o
      octave_galois::save_hdf5(int, char const*, bool)in ov-galois.o
  "_H5Sget_simple_extent_dims", referenced from:
      octave_galois::load_hdf5(int, char const*, bool)in ov-galois.o
  "_H5Gcreate2", referenced from:
      octave_galois::save_hdf5(int, char const*, bool)in ov-galois.o
  "_H5Screate_simple", referenced from:
      octave_galois::save_hdf5(int, char const*, bool)in ov-galois.o
  "_H5Dcreate2", referenced from:
      octave_galois::save_hdf5(int, char const*, bool)in ov-galois.o
  "_H5Dwrite", referenced from:
      octave_galois::save_hdf5(int, char const*, bool)in ov-galois.o
  "_H5T_NATIVE_USHORT_g", referenced from:
      octave_galois::save_hdf5(int, char const*, bool)in ov-galois.o
  "_H5T_NATIVE_UCHAR_g", referenced from:
      octave_galois::load_hdf5(int, char const*, bool)in ov-galois.o
      octave_galois::save_hdf5(int, char const*, bool)in ov-galois.o
  "_H5T_NATIVE_UINT_g", referenced from:
      octave_galois::load_hdf5(int, char const*, bool)in ov-galois.o
      octave_galois::save_hdf5(int, char const*, bool)in ov-galois.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
make: *** [gf.oct] Error 1
'make' returned the following error: Depending genqamdemod.cc
Depending __gfweight__.cc
Depending syndtable.cc
Depending cyclgen.cc
Depending cyclpoly.cc
Depending __errcore__.cc
Depending isprimitive.cc
Depending primpoly.cc
Depending ov-galois.cc
Depending op-s-gm.cc
Depending op-m-gm.cc
Depending op-gm-s.cc
Depending op-gm-m.cc
Depending op-gm-gm.cc
Depending gf.cc
Depending galoisfield.cc
Depending galois-def.cc
Depending galois.cc
Compiling primpoly.o
Linking primpoly.oct
Compiling isprimitive.o
Linking isprimitive.oct
Compiling __errcore__.o
Linking __errcore__.oct
Compiling cyclpoly.o
Linking cyclpoly.oct
Compiling cyclgen.o
Linking cyclgen.oct
Compiling syndtable.o
Linking syndtable.oct
Compiling __gfweight__.o
Linking __gfweight__.oct
Compiling genqamdemod.o
Linking genqamdemod.oct
Compiling galois.o
Compiling galois-def.o
Compiling galoisfield.o
Compiling gf.o
Compiling op-gm-gm.o
Compiling op-gm-m.o
Compiling op-gm-s.o
Compiling op-m-gm.o
Compiling op-s-gm.o
Compiling ov-galois.o
Linking gf.oct
error: called from `pkg>configure_make' in file
/Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/pkg/pkg.m
near line 1337, column 9
error: called from:
error:   
/Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/pkg/pkg.m
at line 783, column 5
error:   
/Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/pkg/pkg.m
at line 354, column 9

This sure looks like we are either not finding libhdf5, or that is the
wrong architecture.

However,

$ file /Applications/Octave.app/Contents/Resources/lib/libhdf5.dylib
/Applications/Octave.app/Contents/Resources/lib/libhdf5.dylib: Mach-O
universal binary with 2 architectures
/Applications/Octave.app/Contents/Resources/lib/libhdf5.dylib (for
architecture ppc7400):  Mach-O dynamically linked shared library ppc
/Applications/Octave.app/Contents/Resources/lib/libhdf5.dylib (for
architecture i386):     Mach-O dynamically linked shared library i386

Thus it would seem that we are missing a LDFLAG somewhere...

On Thu, Jan 26, 2012 at 7:46 AM, Alexander Hansen
<alexanderk.han...@gmail.com> wrote:
> Let's take this back to the mailing list.
>
> On 1/26/12 4:40 AM, OYEDAPO OLUFEMI wrote:
>> I have started the download and i received another error:
>>
>>
>>
>> configure: error: in `/var/tmp/oct-b4ooPG/miscellaneous-1.0.11/src':
>> configure: error: C compiler cannot create executables
>> See `config.log' for more details
>
> Look for /var/tmp/oct-b4ooPG/miscellaneous-1.0.11/src/config.log.
>
> Open it up and look for "checking for gcc".  There should be some text
> after that indicating what is being run to check whether it works, and
> then the "no" message.  Post the text between and including those two lines.
>
>> the configure script returned the following error: checking for gcc... 
>> /usr/bin/gcc-4.2
>> checking whether the C compiler works... no
>> error: called from `pkg>configure_make' in file 
>> /Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/pkg/pkg.m 
>> near line 1325, column 9
>> error: called from:
>> error:   
>> /Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/pkg/pkg.m 
>> at line 783, column 5
>> error:   
>> /Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/pkg/pkg.m 
>> at line 354, column 9
>>
>>
>>
>>
>>
>> James
>>
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Octave-dev mailing list
> Octave-dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/octave-dev



-- 
Marius Schamschula

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to