Actually, this was because strlen() was being called with two arguments (one of them NULL). Now according to 'man strlen', it takes exactly one argument. Are my includes messed up somehow?
------------- ai On Mon, 4 Aug 2003, Anton wrote: > So since no one volunteered to provide a binary, I am trying to compile it > myself. I get the following error: > gcc -c -O2 -fno-strength-reduce -Wall -Wpointer-arith -Wundef -I. > -I../../../../programs/Xserver/mi -I../../../../programs/Xserver/fb > -I../../../../include/extensions -I../../../../programs/Xserver/Xext > -I../../../../programs/Xserver/render > -I../../../../programs/Xserver/include -I../../../../exports/include/X11 > -I../../../../programs/Xserver/os -I../../../../exports/include > -I../../../../include/fonts `directfb-config --cflags` -I../../../.. > -I../../../../exports/include -Dlinux -D__i386__ > -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE > -D_SVID_SOURCE -D_GNU_SOURCE -DSHAPE -DXKB -DLBX -DXAPPGROUP > -DXCSECURITY -DTOGCUP -DDPMSExtension -DPANORAMIX -DRENDER -DRANDR > -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA > -DDIRECTFBSERVER -DSMART_SCHEDULE -DX_BYTE_ORDER=X_LITTLE_ENDIAN > -D_REENTRANT -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -Wall > directfbClipboard.c > directfbClipboard.c: In function `XDirectFBClipboardProc': > directfbClipboard.c:656: too many arguments to function > make[4]: *** [directfbClipboard.o] Error 1 > make[4]: Leaving directory `/big/opt/src/xc/programs/Xserver/hw/directfb' > make[3]: *** [hw/directfb] Error 2 > make[3]: Leaving directory `/big/opt/src/xc/programs/Xserver' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/big/opt/src/xc/programs' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/big/opt/src/xc' > make: *** [all] Error 2 > > :-( > > > ------------- > ai > > > -- > Info: To unsubscribe send a mail to [EMAIL PROTECTED] with > "unsubscribe directfb-users" as subject. > -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject.
