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

Re: Build error on powerpc



On Thu, Sep 07, 2000 at 11:45:37PM -0400, Daniel Jacobowitz wrote:
> Where'd this come from?
> 
> In file included from tseng_acl.c:9:
> tseng_acl.h: In function `tseng_wait':
> tseng_acl.h:136: warning: passing arg 1 of `xf86ReadMmio32Le' makes pointer from integer without a cast
> tseng_acl.c: In function `tseng_terminate_acl':
> tseng_acl.c:88: warning: passing arg 1 of `xf86WriteMmio8' makes pointer from integer without a cast
> tseng_acl.c:90: warning: passing arg 1 of `xf86WriteMmio8' makes pointer from integer without a cast
> tseng_acl.c:92: warning: passing arg 1 of `xf86WriteMmio8' makes pointer from integer without a cast
> tseng_acl.c:94: warning: passing arg 1 of `xf86WriteMmio8' makes pointer from integer without a cast
> tseng_acl.c:96: warning: passing arg 1 of `xf86WriteMmio8' makes pointer from integer without a cast
> tseng_acl.c: In function `tseng_recover_timeout':
> tseng_acl.c:105: warning: passing arg 1 of `xf86WriteMmio32Le' makes pointer from integer without a cast
> tseng_acl.c:108: warning: passing arg 1 of `xf86WriteMmio8' makes pointer from integer without a cast
> tseng_acl.c:109: warning: passing arg 1 of `xf86WriteMmio8' makes pointer from integer without a cast
> tseng_acl.c:110: warning: passing arg 1 of `xf86WriteMmio8' makes pointer from integer without a cast
> tseng_acl.c: In function `tseng_init_acl':
> tseng_acl.c:144: warning: passing arg 1 of `xf86ReadMmio32Le' makes pointer from integer without a cast
> tseng_acl.c:144: invalid lvalue in assignment
> tseng_acl.c:145: warning: passing arg 1 of `xf86ReadMmio32Le' makes pointer from integer without a cast
> tseng_acl.c:145: invalid lvalue in assignment
> 
> Etc.  Looks as if we lost a type somewhere...

Sorry, all I have is the makedepend line and the gcc line, and it seems to
have done fine...

rm -f tseng_acl.o
gcc -c -O2 -fno-strength-reduce -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs   -I. -I../../../../../../programs/Xserver/hw/xfree86/common -I../../../../../../programs/Xserver/hw/xfree86/os-support            -I../../../../../../programs/Xserver/mfb -I../../../../../../programs/Xserver/mi            -I../../../../../../programs/Xserver/cfb -I../../../../../../programs/Xserver/hw/xfree86/xaa            -I../../../../../../programs/Xserver/hw/xfree86/xf1bpp -I../../../../../../programs/Xserver/hw/xfree86/xf4bpp      -I../../../../../../programs/Xserver/hw/xfree86/xf24_32bpp            -I../../../../../../programs/Xserver/hw/xfree86/vgahw -I../../../../../../programs/Xserver/hw/xfree86/ramdac      -I../../../../../../programs/Xserver/hw/xfree86/ddc -I../../../../../../programs/Xserver/hw/xfree86/i2c         -I../../../../../../programs/Xserver/hw/xfree86/rac -I../../../../../../programs/Xserver/hw/xfree86/int10            -I../../../../../../programs/Xserver/include -I../../../../../../exports/include/X11 -I../../../../../../include/fonts  -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 -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP  -DXF86BIGFONT -DDPMSExtension  -DPIXPRIV -DPANORAMIX  -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE  -DSMART_SCHEDULE -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO  -DIN_MODULE -DXFree86Module -DPSZ=8  tseng_acl.c
rm -f tseng_colexp.o

-- 
G. Branden Robinson             |     If a man ate a pound of pasta and a
Debian GNU/Linux                |     pound of antipasto, would they cancel
branden@debian.org              |     out, leaving him still hungry?
http://www.debian.org/~branden/ |     -- Scott Adams

Attachment: pgpLpG8NfL2z4.pgp
Description: PGP signature


Reply to: