Hi Guy, $ 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'
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' I have an idea, but I'd like to check it first locally. > Note that i try to add -gtcgi but i can't see -lgtcgi in link command and i > get the same error. Yes, this is normal, as gtcgi lib is already present in the shared lib. PS: Why the -n- is not the default option as in clipper ? Because all the files we have in Harbour need -n. Brgds, Viktor
_______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
