On Tue, 15 Dec 2009, Tamas TEVESZ wrote:

Hi,

> now something is broken again. i'm not sure what, as at one point i 
> had a working harbour ("working" at this stage i define as "hbrun 
> starts"), now for all of gcc/c, native/c, native/c++, when trying to 
> run hbrun, i get:
> Error BASE/1003  Variable does not exist: S_AINCDIR
> Called from _APPMAIN(90)

sth like that happens when hbrun is compiled without -n option, i.e.
   hbmk hbrun
try:
   hbmk -n2 hbrun

I'll add -n2 to default switches in hbmk.

> for all posterity i have the following changed wrt r13253 hbinit.h:
> --- hbinit.h    (revision 13253)
> +++ hbinit.h    (working copy)
> @@ -112,7 +112,8 @@
>     #define HB_CALL_ON_STARTUP_END( func ) \
>        }
>  
> -#elif defined( HB_INITSEG_STARTUP )
> +#elif ( defined( __USLC__ ) && !defined( __cplusplus ) ) || \
> +      defined( HB_INITSEG_STARTUP )
>  
>     #define HB_INIT_SYMBOLS_BEGIN( func ) \
>        static HB_SYMB symbols_table[] = {
> hbtest, for example, runs fine, so this probably has nothing to do 
> with this awesome work of yours in the startup area, but then i am at 
> a loss what's gone booboo again.

For me it looks like hbrun was compiled separately with different
switches (missing -n harbour compiler switch) but there is question
how it has happened.

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to