Thank you Viktor,

Now i get this error, i suppose it is related to gt :

$ echo '? "hello"' > tst.prg

$ hbmk2 -n- tst
Harbour 1.1.0dev (Rev. 10401)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'tst.prg'...
Lines 1, Functions/Procedures 1
Generating C source output to 'tst.c'... Done.
/usr/lib/harbour/libharbour-1.1.0.so: undefined reference to `scrollok'
/usr/lib/harbour/libharbour-1.1.0.so: undefined reference to `XQueryColors'
/usr/lib/harbour/libharbour-1.1.0.so: undefined reference to `SLtt_Use_Blink_For_ACS'
/usr/lib/harbour/libharbour-1.1.0.so: undefined reference to `XLookupKeysym'
/usr/lib/harbour/libharbour-1.1.0.so: undefined reference to `XFree'
/usr/lib/harbour/libharbour-1.1.0.so: undefined reference to `XDrawSegments'
/usr/lib/harbour/libharbour-1.1.0.so: undefined reference to `stdscr'
...
/usr/lib/harbour/libharbour-1.1.0.so: undefined reference to `SLtt_Screen_Rows'
/usr/lib/harbour/libharbour-1.1.0.so: undefined reference to `SLutf8_enable'
collect2: ld returned 1 exit status
hbmk: Error: Running C compiler. 256: 'gcc tst.c -O3 -otst -I/usr/include/harbour -L/usr/lib/harbour -Wl,--start-group -lharbour-1.1.0 -lhbcplr -lhbdebug -lgpm -lm -ldl -lrt -Wl,--end-group'

Note that i try to add -gtcgi but i can't see -lgtcgi in link command and i get the same error.

But if i add -gtzzz (for example) i can see -lgtzzz in link command :

$ hbmk2 -gtzzz -n- tst
Harbour 1.1.0dev (Rev. 10401)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'tst.prg'...
Lines 1, Functions/Procedures 1
Generating C source output to 'tst.c'... Done.
/usr/bin/ld: cannot find -lgtzzz
collect2: ld returned 1 exit status
hbmk: Error: Running C compiler. 256: 'gcc tst.c ./hbsc_estlqh.c -O3 -otst -I/usr/include/harbour -L/usr/lib/harbour -Wl,--start-group -lharbour-1.1.0 -lhbcplr -lhbdebug -lgpm -lgtzzz -lm -ldl -lrt -Wl,--end-group'

Thanks,

PS: Why the -n- is not the default option as in clipper ?

Guy

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

Reply via email to