Thread: Comipling error plz help
I get the followig error although TK is installed ---------start-------- make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/mnt/hdb/src/postgresql-7.0.3/src/bin/pgaccess' make[2]: Entering directory `/mnt/hdb/src/postgresql-7.0.3/src/bin/pgtclsh' gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -Wmissi ng-declarations -I/usr/X11R6/include -I../../interfaces/libpgtcl -DHAVE_UNIS TD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SY S_TIME=1 -DHAVE_PW_GECOS=1 -o pgtksh pgtkAppInit.o \ -L../../interfaces/libpgtcl -lpgtcl -L../../interfaces/libpq -lpq -L/usr/X 11R6/lib -L/usr/local/lib -ltk8.3 -L/usr/X11R6/lib -lX11 -ldl -lieee -lm \ -L/usr/local/lib -ltcl8.3 -lX11 -lcrypt -lnsl -ldl -lm -lutil -lreadline -lncurses -export-dynamic pgtkAppInit.o: In function `main': pgtkAppInit.o(.text+0x11): undefined reference to `Tk_Main' collect2: ld returned 1 exit status make[2]: *** [pgtksh] Error 1 make[2]: Leaving directory `/mnt/hdb/src/postgresql-7.0.3/src/bin/pgtclsh' make[1]: *** [all] Error 2 make[1]: Leaving directory `/mnt/hdb/src/postgresql-7.0.3/src/bin' make: *** [all] Error 2 --------end----------- thx for any help cm