On Wed, Nov 24, jaime robles val wrote:

> El Wed, 24 Nov 1999, escribiste:
> 
> > Thanks you for reading this mail. I tried to compile tspwk 0.6 under my SuSE
> > 6.2 system, but got the error that he coudn't find the lesstif includes (but
> > they really exist here!)
> Check the paths in tha Makefile ;-)

I've got the same problem, it seems to be an error in the makefile. 
Another problem was solved by including "-D_GNU_SOURCE" to the makefile
rule. See the attached diff...

73, Kai
-- 
Kai Altenfelder, SuSE GmbH, Schanzaeckerstr. 10, D-90443 Nuernberg
Tel.: +49-911-74053-0, Fax: +49-911-3206727, EMail: [EMAIL PROTECTED]
Ham: DL3LBA                               PGP public key available 
PGP Fingerprint: 15 3E B5 3F 3B C0 ED 97  DF DD A2 F6 52 AC 85 64
--- makefile
+++ makefile    1999/11/24 09:57:58
@@ -3,7 +3,7 @@
 ##############################################################################
 
 CC        =     g++
-CFLAGS    =     -ansi -Wall -O3
+CFLAGS = -ansi -Wall -O3 -I/usr/X11R6/include
 
 CFILES    =     psk31-coder.C psk31-receiver.C psk31-transmitter.C\
                 psk31-main.C  widgets.C psk31CB.C scope.C wf.C
@@ -22,9 +22,13 @@
 SAVEFILES =     $(CFILES) $(HFILES) $(MISC)
 
 LIBDIRS   =     -L/usr/X11R6/lib
-## MOTIFLIBS =     -L/home/apps/Motif/lib
+## MOTIFLIBS =     -L/usr/X11R6/LessTif/Motif1.2/lib/
 
 ##############################################################################
+
+.C.o:
+               $(CC) $(CFLAGS) -D_GNU_SOURCE -c -o $*.o  $<
+
 
 twpsk:         $(OFILES) 
                $(CC) $(CFLAGS) $(OFILES) -o $@ $(LIBDIRS) $(DYNLIBS) 

Reply via email to