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

Anyone with experience in XView? (xv_get)



Hello,

I am trying to buls some older tools from <x.org> but get strange
errors (It compiles fine under Slink and Potato  :-))  )

----8<------------------------------------------------------------------
 debian/rules build
dh_testdir
patch --strip=0 <debian/patches/01.disktool.c.patch
patching file disktool.c
dh_testdir
rm -f *.rej
dh_testdir
/usr/bin/make CFLAGS="-Wall -g -O2"
make[1]: Entering directory `/home/michelle.konzack/devel/disktool/disktool-2.0'
cc -Wall -g -O2 -DSUNOS4 disktool.c
disktool.c: In function 'get_values':
disktool.c:177: warning: passing argument 1 of 'statfs' makes pointer from integer without a cast
disktool.c:182: warning: passing argument 1 of 'atoi' makes pointer from integer without a cast
disktool.c:183: warning: format '%ld' expects type 'long int', but argument 3 has type 'int'
disktool.c:212: warning: format '%d' expects type 'int', but argument 3 has type 'long int'
disktool.c:212: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
disktool.c:219: warning: format '%s' expects type 'char *', but argument 2 has type 'Xv_opaque'
disktool.c:231: warning: format '%s' expects type 'char *', but argument 3 has type 'Xv_opaque'
disktool.c:231: warning: format '%s' expects type 'char *', but argument 5 has type 'Xv_opaque'
disktool.c: In function 'generic_sel':
disktool.c:312: warning: 'return' with no value, in function returning non-void
disktool.c: In function 'inc_sel':
disktool.c:327: warning: 'return' with no value, in function returning non-void
disktool.c: In function 'units_sel':
disktool.c:348: warning: 'return' with no value, in function returning non-void
disktool.c: In function 'set_item':
disktool.c:439: warning: 'return' with no value, in function returning non-void
disktool.c: In function 'set_all_items':
disktool.c:458: warning: 'return' with no value, in function returning non-void
disktool.c: In function 'pop_sel':
disktool.c:468: warning: 'return' with no value, in function returning non-void
disktool.c: In function 'add_fs':
disktool.c:493: warning: passing argument 1 of 'statfs' makes pointer from integer without a cast
disktool.c: In function 'del_fs':
disktool.c:536: error: too few arguments to function 'exit'
disktool.c: In function 'get_events':
disktool.c:584: warning: format '%d' expects type 'int', but argument 3 has type 'Xv_opaque'
disktool.c:594: warning: format '%d' expects type 'int', but argument 3 has type 'Xv_opaque'
disktool.c:599: warning: format '%d' expects type 'int', but argument 3 has type 'Xv_opaque'
disktool.c: At top level:
disktool.c:633: warning: return type defaults to 'int'
disktool.c: In function 'main':
disktool.c:688: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast
disktool.c:711: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast
disktool.c:717: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast
disktool.c:723: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast
disktool.c:937: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast
disktool.c:638: warning: unused variable 't2'
disktool.c:638: warning: unused variable 't1'
make[1]: *** [disktool.o] Fehler 1
make[1]: Leaving directory `/home/michelle.konzack/devel/disktool/disktool-2.0'
make: *** [build-orig] Fehler 2
----8<------------------------------------------------------------------
----8<------------------------------------------------------------------
----8<------------------------------------------------------------------


Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: