Sorry, I'm having problems when compyling:
When I try xmkmf -a the result is:
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
make Makefiles
Makefile:946: *** missing separator. Stop.
Then, I copy Makefile.generic into Makefile and run
make showing the next messages:
Linking avr_simulator
gcc -o avr_simulator avr_simulator.o func_command.o
hardware.o xs_wtip.o buttons_menu.o menu_options.o
menu_memory.o help.o -/usr/local/lib -lXm
-L/opt/X11R6/lib -lXpm -lXmu -lXp -lXext -lXt -lX11
-lpthread
/usr/bin/ld: cannot find -lXm
collect2: ld returned 1 exit status
make: *** [avr_simulator] Error 1
I have already check that those libraries are there,
but aparntly ther are more thinks to do, do you have
any idea?
I would apreciate it, thanks.
Roberto B.
Logged In: NO
I hit the same problem. Here's what I did to get it to
compile on my redhat-9.0 system:
--- Makefile.generic 2002-07-05 07:20:58.000000000 -0700
+++ Makefile 2003-11-02 21:38:23.000000000 -0800
@@ -6,8 +6,8 @@
motif_includes = -I/usr/local/include
# X and Motif libraries and locations.
-xlib = -L/opt/X11R6/lib -lXpm -lXmu -lXp -lXext
-lXt -lX11
-motif = -L/usr/local/lib -lXm
+xlib = -L/usr/X11R6/lib -lXpm -lXmu -lXp -lXext
-lXt -lX11
+motif = -lXm
thread = -lpthread