|
From: William K. <wil...@op...> - 2006-07-12 20:21:42
|
There were a few errors on the email I sent before, so try to help me by th= is one. When compiling, I'm getting a few warnings and errors. I created=20 the interface file like explained in the tutorial. No errors when=20 compiling the c file, the errors and warnings occur during the=20 compilation of the wrap.c file. I have some 'implicit declaration of function' warnings and one=20 'storage size of 'arg2' isn't known and one error 'dereferencing=20 pointer to incomplete type'. Obviously I don't expect any easy solution by giving this much=20 information, but I want some suggestions on what should I try or=20 what I possibly am doing wrong. I hope someone can direct me on the=20 right direction. Notice that it's only a small c file with a few functions. It works=20 perfectly in c. Look at the errors. I hope to open some dialog so I can find the=20 answer. I will reply to any questions so to help you help me. > do_something_wrap.c: In function `_wrap_do_something': > do_something_wrap.c:3044: warning: implicit declaration of function=20 > `do_something' > do_something_wrap.c: In function `_wrap_do_something2': > do_something_wrap.c:3068: warning: implicit declaration of function=20 > `do_something2' > do_something_wrap.c: In function `_wrap_do_something3': > do_something_wrap.c:3092: warning: implicit declaration of function=20 > `do_something3' > do_something_wrap.c: In function `_wrap_do_something4': > do_somethingwrap.c:3116: warning: implicit declaration of function=20 > `do_something4' > do_something_wrap.c: In function `_wrap_do_something5': > do_something_wrap.c:3140: warning: implicit declaration of function=20 > `do_something5' > do_something_wrap.c: In function `_wrap_do_something6': > do_something_wrap.c:3165: warning: implicit declaration of function=20 > `do_something6' > do_something_wrap.c: In function `_wrap_do_something7 > do_something_wrap.c:3190: warning: implicit declaration of function=20 > `do_something7' > do_something_wrap.c: In function `_wrap_do_something8: > do_something_wrap.c:3214: warning: implicit declaration of function=20 > `do_something8' > do_something_wrap.c: In function `_wrap_do_something9: > do_something_wrap.c:3248: warning: implicit declaration of function=20 > `do_something9' > do_something_wrap.c: In function `_wrap_do_something10 > do_something_wrap.c:3282: warning: implicit declaration of function=20 > `do_something10' > do_something_wrap.c: In function `_wrap_do_something11': > do_something_wrap.c:3317: warning: implicit declaration of function=20 > `do_something11' > do_something_wrap.c: In function `_wrap_do_something12': > do_something_wrap.c:3332: error: storage size of 'arg2' isn't known > do_something_wrap.c:3356: error: dereferencing pointer to incomplete type > do_something_wrap.c:3359: warning: implicit declaration of function=20 > `do_something12' > do_something_wrap.c:3332: warning: unused variable `arg2' > do_something_wrap.c: In function `_wrap_do_something13': > do_something_wrap.c:3372: error: storage size of 'arg2' isn't known > do_something_wrap.c:3396: error: dereferencing pointer to incomplete type > do_something_wrap.c:3399: warning: implicit declaration of function=20 > `do_something13' > do_something_wrap.c:3372: warning: unused variable `arg2' > do_something_wrap.c: In function `_wrap_do_something14': > do_something_wrap.c:3433: warning: implicit declaration of function=20 > `do_something14' > do_something_wrap.c: In function `_wrap_do_something15': > do_something_wrap.c:3459: warning: implicit declaration of function=20 > `do_something15' > do_something_wrap.c: In function `_wrap_do_something16': > do_something_wrap.c:3483: warning: implicit declaration of function=20 > `do_something16' > error: command 'gcc' failed with exit status 1 --=20 _______________________________________________ Surf the Web in a faster, safer and easier way: Download Opera 9 at http://www.opera.com Powered by Outblaze |