I get this compile error on Ubuntu 9.04 and Ubuntu 9.10 32 bits...
...
hbstr.c:(.text+0x18cf): undefined reference to `pow'
...

The problem arose after -r12563.

If you set HB_BUILD_SHARED=no it works.

I'll have to check. So far I don't understand what's
happening, moreover it's quite difficult for me to
test without installing to syslocs.

My suspect is missing lib grouping. Can you try adding
-Wl,--start-group and -Wl,--end-group around $(DLIBS) in
line 54 of config/linux/gcc.mk ?

I think that having different options based on INSTALL path is wrong.

In this way INSTALL path become an "hidden switch".

Yes it is, and this is the only way we can somewhat assure
that users not wanting to use system locations for Harbour
also get working builds, while users installing to system
location will get their shared-mode binaries.

Having shared mode binaries in non-system locations don't work
without extra manual steps.
Having non-shared binaries in system location is against the
idea of *nixes and *nix user preferences.

Hence we have this trick. Notice you can override this default
behavior anytime.

Brgds,
Viktor

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to