Index: [thread] [date] [subject] [author]
  From: Christoph Egger <Christoph_Egger@t-online.de>
  To  : GGI-Mailing-Liste <ggi-develop@eskimo.com>
  Date: Fri, 23 Apr 1999 22:42:47 +0200 (MEST)

libgic - compiler error

Hi!

I have downloaded the ggi-snapshot ggi-devel-990423.tar.gz
When I try to compile libgic, I get this errors:

make[2]: Entering directory
`/home/programmer/ggi/degas/lib/libgic/programs/demos'
gcc -DSTDC_HEADERS=1 -DHAVE_GGI_GG_H=1 -DHAVE_GGI_GII_H=1
-DHAVE_GGI_GGI_H=1 -DHAVE_STRDUP=1 -DDEBUG=1  -I. -I.  -I../../include
-g -O2 -D_REENTRANT -D_THREAD_SAFE -g -Wall -pedantic -c test.c
test.c: In function `main':
test.c:77: warning: passing arg 2 of `gicFeatureAttachRecognizerDriver'
from incompatible pointer type
test.c:30: warning: unused variable `boss'
test.c:29: warning: unused variable `escape'
test.c:29: warning: unused variable `select'
test.c:29: warning: unused variable `level_up'
test.c:29: warning: unused variable `level_down'
test.c:31: warning: `keyrec' might be used uninitialized in this function
/bin/sh ../../libtool --mode=link gcc  -g -O2 -D_REENTRANT -D_THREAD_SAFE
-g -Wall -pedantic  -o test  test.o ../../gic/libgic.a
../../recognizers/librecognizers.a -lgii
gcc -g -O2 -D_REENTRANT -D_THREAD_SAFE -g -Wall -pedantic -o .libs/test
test.o ../../gic/libgic.a ../../recognizers/librecognizers.a
/usr/local/lib/libgii.so -ldl /usr/local/lib/libgg.so -Wl,--rpath
-Wl,/usr/local/lib
../../recognizers/librecognizers.a(valuator.o): In function
`valuator_read_pvtdata':
/home/programmer/ggi/degas/lib/libgic/recognizers/valuator.c:217:
undefined reference to `giiQueryDeviceInfoByNumber'
make[2]: *** [test] Error 1
make[2]: Leaving directory
`/home/programmer/ggi/degas/lib/libgic/programs/demos'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/programmer/ggi/degas/lib/libgic/programs'
make: *** [all-recursive] Error 1


Christoph Egger
E-Mail: Christoph_Egger@t-online.de

Index: [thread] [date] [subject] [author]