Thanks, this patch working but second problem :(

gcc -c -O2 -ansi -Dasm=__asm -Wall -Wpointer-arith -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef 
   -I. -I../../../../../programs/Xserver/hw/xfree86/common 
-I../../../../../programs/Xserver/hw/xfree86/os-support               
-I../../../../../programs/Xserver/include -I../../../../../exports/include/X11 
-I../../../../../programs/Xserver/hw/xfree86/scanpci             
-I../../../../../programs/Xserver/hw/xfree86/dummylib  -I../../../../.. 
-I../../../../../exports/include   -DCSRG_BASED -DSHAPE -DXINPUT -DXKB -DLBX 
-DXAPPGROUP -DXCSECURITY -DTOGCUP  -DXF86BIGFONT -DDPMSExtension  -DPIXPRIV 
-DPANORAMIX  -DRENDER  -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH 
-DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE 
-DXvMCExtension  -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension 
-DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG  -DFUNCPROTO=15 -DNARROWPROTO   
-DUSE_I386_IOPL   mmapr.c
In file included from mmapr.c:34:
/usr/include/unistd.h:66: warning: redundant redeclaration of `cuserid' in same scope
/usr/include/stdio.h:274: warning: previous declaration of `cuserid'
/usr/include/unistd.h:92: warning: redundant redeclaration of `lseek' in same scope
/usr/include/sys/types.h:142: warning: previous declaration of `lseek'
/usr/include/unistd.h:138: warning: redundant redeclaration of `ftruncate' in same 
scope
/usr/include/sys/types.h:143: warning: previous declaration of `ftruncate'
/usr/include/unistd.h:206: warning: redundant redeclaration of `truncate' in same scope
/usr/include/sys/types.h:144: warning: previous declaration of `truncate'
/usr/include/unistd.h:215: warning: redundant redeclaration of `getopt' in same scope
/usr/include/stdlib.h:168: warning: previous declaration of `getopt'
/usr/include/unistd.h:216: warning: redundant redeclaration of `optarg' in same scope
/usr/include/stdlib.h:169: warning: previous declaration of `optarg'
/usr/include/unistd.h:217: warning: redundant redeclaration of `opterr' in same scope
/usr/include/stdlib.h:170: warning: previous declaration of `opterr'
/usr/include/unistd.h:218: warning: redundant redeclaration of `optind' in same scope
/usr/include/stdlib.h:171: warning: previous declaration of `optind'
/usr/include/unistd.h:219: warning: redundant redeclaration of `optopt' in same scope
/usr/include/stdlib.h:172: warning: previous declaration of `optopt'
/usr/include/unistd.h:220: warning: redundant redeclaration of `optreset' in same scope
/usr/include/stdlib.h:173: warning: previous declaration of `optreset'
/usr/include/unistd.h:221: warning: redundant redeclaration of `getsubopt' in same 
scope
/usr/include/stdlib.h:174: warning: previous declaration of `getsubopt'
/usr/include/unistd.h:222: warning: redundant redeclaration of `suboptarg' in same 
scope
/usr/include/stdlib.h:175: warning: previous declaration of `suboptarg'
mmapr.c: In function `main':
mmapr.c:139: warning: implicit declaration of function `strtoull'
rm -f mmapr
gcc -o mmapr -O2 -ansi -Dasm=__asm -Wall -Wpointer-arith -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef 
    -L../../../../../exports/lib mmapr.o       
mmapr.o: Undefined symbol `_strtoull' referenced from text segment
collect2: ld returned 1 exit status
*** Error code 1

Stop in /usr/src/XF4/xc/programs/Xserver/hw/xfree86/etc (line 1223 of Makefile).
*** Error code 1

Regards,
John

___________________________________
 http://www.vcable.net


_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to