I have this issue and i want to know how to solve... I know i must don't use the install paths reported below but i used them for almost all the time i compiling Harbour from svn more than 5 years and in the future i change it.
Tha updated svn sources are in $HOME/src/harbour In a script file i set exported variables: export HB_BIN_INSTALL=/usr/bin export HB_INSTALL_PREFIX=/usr/bin export HB_LIB_INSTALL=/usr/lib export HB_INC_INSTALL=/usr/include export HB_BUILD_SHARED=no make clean; make; sudo -E make install Today i was compiling this simply prg ubu...@ubuntu:~/tmp$ cat p.prg funct main() dirmake("ppppppp") return with hbmk2 i get: hbmk2 p hbmk2: Processing configuration: /usr/bin/hbmk.cfg Harbour 2.0.0beta3 (Rev. 12618) Copyright (c) 1999-2009, http://www.harbour-project.org/ Compiling 'p.prg'... Lines 3, Functions/Procedures 1 Generating C source output to 'p.c'... Done. p.o:(.data+0x38): undefined reference to `HB_FUN_DIRMAKE' collect2: ld returned 1 exit status hbmk2: Error: Running linker. 1 gcc p.o hbmk_dp7lf7.o -Wl,--start-group -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgttrm -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lm -ldl -lrt -lhbpcre -lhbzlib -lgpm -Wl,--end-group -op -L/usr/lib Please note my (never touched) /usr/bin/hbmk.cfg conf file. cat /usr/bin/hbmk.cfg # hbmk2 configuration # Generated by Harbour build process libpaths=../contrib/%{hb_name} libpaths=../contrib/rddsql/%{hb_name} libpaths=../addons/%{hb_name} libpaths=../examples/%{hb_name} syslibs={linux&gcc}gpm Also after the install process of harbour i have all /usr/include files and directory altered with wrong permissions... Then... compiling previous reported simply p.prg file with hbmk ubu...@ubuntu:~/tmp$ hbmk p Harbour 2.0.0beta3 (Rev. 12618) Copyright (c) 1999-2009, http://www.harbour-project.org/ Compiling 'p.prg'... Lines 3, Functions/Procedures 2 Generating C source output to 'p.c'... Done. ubu...@ubuntu:~/tmp$ ./p ubu...@ubuntu:~/tmp$ ls -l totale 20 -rwxr-xr-x 1 ubuntu ubuntu 9968 2009-09-24 17:56 p drwxr-xr-x 2 ubuntu ubuntu 4096 2009-09-24 18:01 ppppppp -rw-r--r-- 1 ubuntu ubuntu 39 2009-09-24 17:55 p.prg I think i might have something to dress into the /usr/bin/hbmk.cfg conf file. and there be something wrong during install process of harbour because it change the /usr/include tree files and dirs permissions. Best regards and thank you Marco _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour