Re: compiling error
: undefined reference to `XDisplayName' i'd say you miss some development packages (looks like xorg). anyway, since it is not an openmoko specific problem, google should be very helpfull with issues like that. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
compiling error
Hi I try to compile this program found on: http://markmail.org/message/zi4poqd2fpxvfs67 but I obtained this error by compiling it: progtry.c: In function ‘pEvenThrd’: progtry.c:188: warning: implicit declaration of function ‘usleep’ progtry.c:190: warning: no return statement in function returning non-void progtry.c: In function ‘main’: progtry.c:248: warning: implicit declaration of function ‘putenv’ arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -std=gnu99 -Wall -pedantic -std=c99 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -L/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib -o progtry progtry.o -lm progtry.o: In function `set_rotation': progtry.c:(.text+0x114): undefined reference to `XDisplayName' progtry.c:(.text+0x154): undefined reference to `XRRRotations' progtry.c:(.text+0x160): undefined reference to `XRRGetScreenInfo' progtry.c:(.text+0x16c): undefined reference to `XRRConfigCurrentConfiguration' progtry.c:(.text+0x188): undefined reference to `XRRSetScreenConfig' progtry.c:(.text+0x198): undefined reference to `XOpenDisplay' progtry.o: In function `main': progtry.c:(.text+0x20c): undefined reference to `pthread_create' collect2: ld returned 1 exit status make: *** [all] Erreur 1 how can I solve this problem of compiling?? ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community