Hi Viktor, when hbmk2 is used with GCC without support for -Wl,--start-group/-Wl,--end-group then the order of linked libraries is not sufficient to resolve cross references. Just try to compile this code (for test you can disable -Wl,--start-group in mingw builds):proc main() browse() return In this code functions indirectly used inside HBRTL refer to HBRDD functions so 1-st -lhbrtl has to be located before -lhbrdd.
Can you try moving line 3332 one line below, after line 3333? It's a quite wild guess, and for me the correct lib order is still a very shady area. Haven't seen a universally working one since the start of the project. (Nor do I understand the logic behind errors seen.) It also depends how did you disable grouping, as there is some hack code which adds some double libs for non-grouped scenarios (line 2294). Maybe it also helps. [ I've tried both ways after moving this line, but it didn't help, just changed the missing symbols, though hbrtl rightly comes before hbrdd. ] Anyhow, it would be nice to solve it and drop forced grouping. If you have some advices I'm ready to implement them. Brgds, Viktor _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
