Opened 13 years ago

Closed 12 years ago

#327 closed Bug Report (fixed)

linking failure on osx (full svn repos.)

Reported by: remi Owned by:
Priority: major Component: Ingen
Keywords: Cc:

Description

Hello

When trying to build the full svn repository (rev 1921) I can compile everything, but link almost nothing.

command output from the first link step :
[218/253] cc_link: build/default/lv2/plugins/metro.lv2/metro_2.o -> build/default/lv2/metro.dylib
[217/253] cc_link: build/default/lv2/plugins/print.lv2/print_1.o -> build/default/lv2/print.dylib
[219/253] cc_link: build/default/lv2/plugins/bang.lv2/bang_3.o -> build/default/lv2/bang.dylib
[220/253] cc_link: build/default/slv2/src/plugin_2.o build/default/slv2/src/pluginclass_2.o build/default/slv2/src/pluginclasses_2.o build/default/slv2/src/plugininstance_2.o build/default/slv2/src/plugins_2.o build/default/slv2/src/pluginui_2.o build/default/slv2/src/pluginuiinstance_2.o build/default/slv2/src/pluginuis_2.o build/default/slv2/src/port_2.o build/default/slv2/src/query_2.o build/default/slv2/src/scalepoint_2.o build/default/slv2/src/scalepoints_2.o build/default/slv2/src/util_2.o build/default/slv2/src/value_2.o build/default/slv2/src/values_2.o build/default/slv2/src/world_2.o -> build/default/slv2/libslv2.dylib
[221/253] cxx_link: build/default/lv2/plugins/transpose.lv2/transpose_4.o -> build/default/lv2/transpose.dylib
Undefined symbols:

"LV2::get_lv2_descriptors()", referenced from:

LV2::Plugin<Transpose, LV2::UriMapExt?<true>, LV2::End, LV2::End, LV2::End, LV2::End, LV2::End, LV2::End, LV2::End, LV2::End>::register_class(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in transpose_4.o LV2::Plugin<Transpose, LV2::UriMapExt?<true>, LV2::End, LV2::End, LV2::End, LV2::End, LV2::End, LV2::End, LV2::End, LV2::End>::register_class(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in transpose_4.o

ld: symbol(s) not found collect2: ld returned 1 exit status Build failed

-> task failed (err #1):

{task: cxx_link transpose_4.o -> transpose.dylib}

I've been once able to link everything successfully by appending modifications in maybe 10 wscript (adding lib or local lib waf was complaining for) but after installation, ingen was not able to load all this stuff. I guess the solution was not the right one :)

Anyway all works perfectly on linux, so keep up the good job !!

Remi

Change History (1)

comment:1 Changed 12 years ago by David Robillard

Resolution: fixed
Status: newclosed

Fixed in r2104.

Note: See TracTickets for help on using tickets.