default branch failed to build on OSX
Ben Abbott
bpabbott at mac.com
Sat Aug 2 18:41:25 CDT 2008
On Aug 2, 2008, at 4:19 PM, c. wrote:
>
> On 10/lug/08, at 04:22, octave-maintainers-request at octave.org wrote:
>
>> Date: Wed, 09 Jul 2008 22:20:57 -0400
>> From: Ben Abbott <bpabbott at mac.com>
>> Subject: default branch failed to build on OSX
>> To: octave-maintainers at octave.org
>> Message-ID: <6D68ABA9-4186-4146-8B20-189ACCBBB880 at mac.com>
>> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed;
>> delsp=yes
>>
>> I successfully built the default branch within the last 24 hrs. This
>> evening my attempt to build with the change sets of the last 24 hrs
>> added failed.
>>
>> Presently my tip shows changeset: 8105:f46e73bcb85b
>>
>> I'd estimate the tip for my last successful build was changeset:
>> 8094:c51ae36fcbce
>>
>> Has anyone else attempted a build since 8105? ... is this a general
>> problem or specific to Mac OSX and/or my configuration?
>>
>> I've included quite a bit of info below ... If the problem is on my
>> end, perhaps someone might spot something.
>>
>>
>> -------------- begin failed build -------------
>
> <SNIP>
>
>>
>> Undefined symbols:
>> "vtable for opengl_renderer", referenced from:
>> __ZTV15opengl_renderer$non_lazy_ptr in fltk_backend.o
>> ld: symbol(s) not found
>> collect2: ld returned 1 exit status
>> make[2]: *** [fltk_backend.oct] Error 1
>> make[1]: *** [src] Error 2
>> make: *** [all] Error 2
>
> Ben,
>
> Did you try again to build lately? Are you still getting the same
> error?
> I tried to build today and got an error similar to that reported
> above.
>
> I'm not really sure what's going on, but assuming the problem was
> connected
> to this:
> http://gcc.gnu.org/faq.html#vtables
>
> I tried the attached changeset which allowed me to complete the build.
>
> Unfortunately when I do "make check" octave gets stuck while testing
> src/DLD-FUNCTIONS/dispatch.cc
>
> c.
>
> P.S. BTW I still get the problem in parsing files I mentioned here:
> http://www.nabble.com/Latest-from-hg-on-OSX-td17756186.html
> did anyone experience anything similar?
I have not tried in a few weeks. After your email I tried to build the
shell script I wrote to do the job a while back ... as you no doubt
expect, it failed today.
[...]
g++ -bundle -bundle_loader ../src/octave -L/sw/lib/fltk-aqua/lib -L/sw/
lib -lfltk_gl -framework AGL -framework OpenGL -lfltk -lpthread -
framework Carbon -framework ApplicationServices -o fltk_backend.oct
pic/fltk_backend.o -L../libcruft -lcruft -L../liboctave -loctave -L. -
loctinterp -lcholmod -lumfpack -lamd -lcamd -lcolamd -lccolamd -
lcxsparse -Wl,-framework,Accelerate,-dylib_file,/System/Library/
Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/
Versions/A/libLAPACK.dylib:/System/Library/Frameworks/
Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/
libLAPACK.dylib -lfftw3 -lfftw3f -lreadline -lncurses -Wl,-
framework,Accelerate,-dylib_file,/System/Library/Frameworks/
Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/
libBLAS.dylib:/System/Library/Frameworks/Accelerate.framework/Versions/
A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib -lhdf5 -lz -
lm /sw/lib/gcc4.3/lib/libgfortran.dylib -L/sw/lib/fltk-aqua/lib -L//
sw/lib -L/sw/lib -lfltk_gl -framework AGL -framework OpenGL -lfltk -
lpthread -framework Carbon -framework ApplicationServices
Undefined symbols:
"vtable for opengl_renderer", referenced from:
__ZTV15opengl_renderer$non_lazy_ptr in fltk_backend.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [fltk_backend.oct] Error 1
make[1]: *** [src] Error 2
make: *** [all] Error 2
Unless the problem is superficial and rather obvious I won't be of
much help. However, I will take a closer look.
Ben
More information about the Octave-maintainers
mailing list