Hi Robert,
[EMAIL PROTECTED] writes: > gcc -g -O2 -L/usr/lib -L/usr/X11R6/lib -o Eterm main.o > .libs/libEterm.a -last -lImlib2 -lttf -lSM -lICE -lXext -lX11 -lipc > -last -lImlib2 -lttf -lSM -lICE -lXext -lX11 -lipc -Wl,--rpath > -Wl,/usr/lib:/usr/lib/Eterm -Wl,--rpath -Wl,/usr/lib:/usr/lib/Eterm > > .libs/libEterm.a(screen.o): In function `selection_copy_string': > /usr/local/Eterm-0.9.1/src/screen.c:2455: undefined reference to > `_XA_CLIPBOARD' > > /usr/local/Eterm-0.9.1/src/screen.c:2455: undefined reference to > `XmuInternAtom' > > .libs/libEterm.a(screen.o): In function `selection_paste': > /usr/local/Eterm-0.9.1/src/screen.c:2482: undefined reference to > `_XA_CLIPBOARD' > > /usr/local/Eterm-0.9.1/src/screen.c:2482: undefined reference to > `XmuInternAtom' So you need to add the libraries that contain _XA_CLIPBOARD and XmuInternAtom. To find these I use the nm tool, like this $ cd /usr/X11R6/lib $ nm -A lib*.a | grep CLIPBOARD libXmu.a:Atoms.o:00000038 G _XA_CLIPBOARD libXmu.a:Atoms.o:00000030 g __XA_CLIPBOARD $ Which tells me that you need to add -lXmu to the list of X11 libraries. Read the man page for nm to find what the output of the tool means in detail. so long, benny
