From: William K. <wil...@op...> - 2006-07-12 20:16:40
|
When compiling, I'm getting a few warnings and errors. I created the interf= ace file like explained in the tutorial. No errors when compiling the c fil= e, the errors and warnings occur during the compilation of the wrap.c file. I have some 'implicit declaration of function' warnings and one 'storage si= ze of 'arg2' isn't known and one error 'dereferencing pointer to incomplete= type'. Obviously I don't expect any easy solution by giving this much information,= but I want some suggestions on what should I try or what I possibly am doi= ng wrong. I hope someone can direct me on the right direction. Notice that it's only a small c file with a few functions. It works perfect= ly in c. Check the errors. I hope to open some dialog so I can find the answer. I wi= ll reply to any questions so to help you help me. do_something_wrap.c: In function `_wrap_to_lower_case': do_something_wrap.c:3044: warning: implicit declaration of function `do_som= ething' do_something_wrap.c: In function `_wrap_do_something': do_something_wrap.c:3068: warning: implicit declaration of function `do_som= ething2' do_something_wrap.c: In function `_wrap_do_something2': do_something_wrap.c:3092: warning: implicit declaration of function `do_som= ething3' do_something_wrap.c: In function `_wrap_do_something3': do_somethingwrap.c:3116: warning: implicit declaration of function `do_some= thing4' do_something_wrap.c: In function `_wrap_do_something4': do_something_wrap.c:3140: warning: implicit declaration of function `do_som= ething5' do_something_wrap.c: In function `_wrap_do_something5': do_something_wrap.c:3165: warning: implicit declaration of function `do_som= ething6' do_something_wrap.c: In function `_wrap_do_something6 do_something_wrap.c:3190: warning: implicit declaration of function `do_som= ething7' do_something_wrap.c: In function `_wrap_do_something7: do_something_wrap.c:3214: warning: implicit declaration of function `do_som= ething8' do_something_wrap.c: In function `_wrap_do_something8: do_something_wrap.c:3248: warning: implicit declaration of function `do_som= ething9' do_something_wrap.c: In function `_wrap_do_something9 do_something_wrap.c:3282: warning: implicit declaration of function `do_som= ething10' do_something_wrap.c: In function `_wrap_do_something10': do_something_wrap.c:3317: warning: implicit declaration of function `do_som= ething11' do_something_wrap.c: In function `_wrap_do_something11': 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 `do_som= ething12' do_something_wrap.c:3332: warning: unused variable `arg2' do_something_wrap.c: In function `_wrap_do_something12': 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 `do_som= ething13' do_something_wrap.c:3372: warning: unused variable `arg2' do_something_wrap.c: In function `_wrap_do_something13': do_something_wrap.c:3433: warning: implicit declaration of function `do_som= ething14' do_something_wrap.c: In function `_wrap_do_something14': do_something_wrap.c:3459: warning: implicit declaration of function `do_som= ething15' do_something_wrap.c: In function `_wrap_do_something15': do_something_wrap.c:3483: warning: implicit declaration of function `do_som= ething16' 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 |