RE: alps error workaround (correct)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>Is a linker problem.
>I found a workarond.
>After this error do the following:
>1. cd /to/gpm/root
    cd src  (this is the correct command)
>2. gcc -I/tmp/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h
-Wall
>-DSYSCONFDIR="\"/usr/etc\"" -DSBINDIR="\"/usr/sbin\""  -g -O2  -c -o prog/mouse-test.o
>prog/mouse-test.c
>
>      no changes here simply compile mouse-test.c
>
>3. gcc -L/tmp/gpm-1.20.1/src  -o prog/mouse-test prog/mouse-test.o mice.o
>twiddler.o synaptics.o alps.o lib/libgpm.so lib/libgpm.a
>       here is the workaround - try to link mouse-test.o but fails cause
>
>       can't find functions in alps.o so you just need to add alps.o
>4. make (to finish the process)
>
>The question is: how can I tell to Makefile to use alps.o during the link
>step?
>
>Thanks for your help

Ok I've tried gpm -m /dev/mouse -t alps2 -Rraw
but it doesn't work.




[Index of Archives]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Gimp]     [Yosemite News]