View previous topic :: View next topic |
Author |
Message |
SuperJudge Apprentice
Joined: 08 Jun 2004 Posts: 177 Location: Albany, GA
|
Posted: Fri Oct 15, 2004 2:35 pm Post subject: libgmail, gmailfs, avfs make problem. |
|
|
I'm trying to set up a gmailfs mount, using libgmail, and it requires support for the coda fs, and also avfs from sourceforge. More info http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem.html.
After I compiled coda into the Kernel, and booted using it, I downloaded avfs from sourceforge, and I can configure it, but make pukes out starting with this error: Code: | /usr/include/linux/time.h:9: error: redefinition of `struct timespec'
/usr/include/linux/time.h:88: error: redefinition of `struct timeval'
/usr/include/linux/time.h:93: error: redefinition of `struct timezone'
/usr/include/linux/time.h:119: error: redefinition of `struct itimerspec'
/usr/include/linux/time.h:124: error: redefinition of `struct itimerval'
In file included from dispatch.c:27:
/usr/src/linux-2.6.7-gentoo-r14/include/linux/coda.h:762: error: variable or field `__user' declared void
/usr/src/linux-2.6.7-gentoo-r14/include/linux/coda.h:762: warning: no semicolon at end of struct or union
/usr/src/linux-2.6.7-gentoo-r14/include/linux/coda.h:762: error: syntax error before '*' token
/usr/src/linux-2.6.7-gentoo-r14/include/linux/coda.h:763: error: syntax error before '*' token
/usr/src/linux-2.6.7-gentoo-r14/include/linux/coda.h:763: warning: type defaults to `int' in declaration of `out'
/usr/src/linux-2.6.7-gentoo-r14/include/linux/coda.h:763: warning: data definition has no type or storage class
/usr/src/linux-2.6.7-gentoo-r14/include/linux/coda.h:766: error: syntax error before '}' token
/usr/src/linux-2.6.7-gentoo-r14/include/linux/coda.h:769: warning: no semicolon at end of struct or union
/usr/src/linux-2.6.7-gentoo-r14/include/linux/coda.h:769: error: syntax error before '*' token
/usr/src/linux-2.6.7-gentoo-r14/include/linux/coda.h:772: error: syntax error before '}' token
dispatch.c:322: error: syntax error before '*' token
dispatch.c: In function `look_info':
dispatch.c:326: error: `id' undeclared (first use in this function)
dispatch.c:326: error: (Each undeclared identifier is reported only once
dispatch.c:326: error: for each function it appears in.)
dispatch.c: At top level:
dispatch.c:348: error: syntax error before '*' token
dispatch.c: In function `look_name':
dispatch.c:352: error: `id' undeclared (first use in this function)
dispatch.c: At top level:
dispatch.c:361: error: syntax error before '*' token
dispatch.c: In function `ref_fid':
dispatch.c:363: error: `fid' undeclared (first use in this function)
dispatch.c: At top level:
dispatch.c:369: error: syntax error before '*' token
dispatch.c: In function `unref_fid':
dispatch.c:371: error: `fid' undeclared (first use in this function)
dispatch.c: At top level:
dispatch.c:401: error: syntax error before "ViceFid"
dispatch.c: In function `create_file':
dispatch.c:406: error: `parentid' undeclared (first use in this function)
dispatch.c:409: error: `filename' undeclared (first use in this function)
dispatch.c:411: error: `newid' undeclared (first use in this function)
dispatch.c: In function `purge_file':
dispatch.c:430: error: structure has no member named `Volume'
dispatch.c:431: error: structure has no member named `Vnode'
dispatch.c:432: error: structure has no member named `Unique'
dispatch.c: In function `zap_file':
dispatch.c:449: error: structure has no member named `Volume'
dispatch.c:450: error: structure has no member named `Vnode'
dispatch.c:451: error: structure has no member named `Unique'
dispatch.c: At top level:
dispatch.c:585: error: syntax error before "ViceFid"
dispatch.c: In function `close_file':
dispatch.c:588: error: `of' undeclared (first use in this function)
dispatch.c:594: error: `ofp' undeclared (first use in this function)
dispatch.c:596: error: `fid' undeclared (first use in this function)
dispatch.c: In function `process_answer':
dispatch.c:684: warning: long int format, u_int32_t arg (arg 4)
dispatch.c:684: warning: long int format, u_int32_t arg (arg 6)
dispatch.c:694: warning: long int format, u_int32_t arg (arg 2)
dispatch.c:822: warning: long int format, u_int32_t arg (arg 2)
dispatch.c: In function `send_to_child':
dispatch.c:1061: error: structure has no member named `cred'
dispatch.c:1062: error: structure has no member named `cred'
dispatch.c:1112: warning: long int format, u_int32_t arg (arg 2)
dispatch.c: At top level:
dispatch.c:1143: error: syntax error before "ViceFid"
dispatch.c: In function `send_with_path':
dispatch.c:1149: error: `id' undeclared (first use in this function)
dispatch.c:1151: error: `req' undeclared (first use in this function)
dispatch.c:1157: error: `filename' undeclared (first use in this function)
dispatch.c:1159: error: `path2' undeclared (first use in this function)
dispatch.c:1165: error: `reqsize' undeclared (first use in this function)
dispatch.c: In function `process_kernel_req':
dispatch.c:1242: warning: long int format, u_int32_t arg (arg 3)
dispatch.c:1242: warning: long int format, u_int32_t arg (arg 4)
dispatch.c:1251: error: structure has no member named `Volume'
dispatch.c:1252: error: structure has no member named `Vnode'
dispatch.c:1253: error: structure has no member named `Unique'
dispatch.c:1315: error: structure has no member named `cred'
dispatch.c:1315: error: structure has no member named `cred'
dispatch.c:1526: warning: deprecated use of label at end of compound statement
dispatch.c: At top level:
/usr/src/linux-2.6.7-gentoo-r14/include/linux/coda.h:771: error: storage size of `vi' isn't known
make[1]: *** [dispatch.o] Error 1
make[1]: Leaving directory `/root/avfs-0.9.3/avfscoda'
make: *** [all] Error 2 | I'm using gentoo-dev-sources-2.6.7-r14 on a tbird 1333. Let me know if you need any more info, and thanks, all. _________________ ---Powered by Honda |
|
Back to top |
|
|
redshift Tux's lil' helper
Joined: 26 Nov 2003 Posts: 98
|
Posted: Fri Oct 15, 2004 6:41 pm Post subject: |
|
|
I'm no expert on the topic, but it looks like you're using GCC 3.4 to compile old code that hasn't been updated for it. I've seen lots of errors similar to that with packages that just needed a patch for 3.4. If that's the case, someone will need to put in the work of updating it, since the authors apparently haven't. _________________ Tom |
|
Back to top |
|
|
SuperJudge Apprentice
Joined: 08 Jun 2004 Posts: 177 Location: Albany, GA
|
Posted: Sat Oct 16, 2004 1:00 am Post subject: |
|
|
I figured it out earlier, and I would have posted. I was trying to compile the wrong program to do the job. I found out that Fuse split from AVFS to make Fuse 1.4.
Well, I went to the download mirrors for Fuse 1.4, and copied the link, and changed it to ...fuse-1.[ B ]3[ /B ]... and wget downloaded the required file. I may have been able to use 1.4, but it doesn't matter, I did get it to work.
Thanks for the help, red. _________________ ---Powered by Honda |
|
Back to top |
|
|
ravensix Apprentice
Joined: 18 Sep 2004 Posts: 220
|
Posted: Sat Oct 16, 2004 8:49 pm Post subject: Re: libgmail, gmailfs, avfs make problem. |
|
|
SuperJudge wrote: | I'm trying to set up a gmailfs mount, using libgmail, and it requires support for the coda fs, and also avfs from sourceforge. More info http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem.html.
After I compiled coda into the Kernel, and booted using it, I downloaded avfs from sourceforge, and I can configure it, but make pukes out starting with this error: Code: | /usr/include/linux/time.h:9: error: redefinition of `struct timespec'
/usr/include/linux/time.h:88: error: redefinition of `struct timeval'
/usr/include/linux/time.h:93: error: redefinition of `struct timezone'
/usr/include/linux/time.h:119: error: redefinition of `struct itimerspec'
/usr/include/linux/time.h:124: error: redefinition of `struct itimerval'
In file included from dispatch.c:27:
/usr/src/linux-2.6.7-gentoo-r14/include/linux/coda.h:762: error: variable or field `__user' declared void
/usr/src/linux-2.6.7-gentoo-r14/include/linux/coda.h:762: warning: no semicolon at end of struct or union
/usr/src/linux-2.6.7-gentoo-r14/include/linux/coda.h:762: error: syntax error before '*' token
/usr/src/linux-2.6.7-gentoo-r14/include/linux/coda.h:763: error: syntax error before '*' token
/usr/src/linux-2.6.7-gentoo-r14/include/linux/coda.h:763: warning: type defaults to `int' in declaration of `out'
/usr/src/linux-2.6.7-gentoo-r14/include/linux/coda.h:763: warning: data definition has no type or storage class
/usr/src/linux-2.6.7-gentoo-r14/include/linux/coda.h:766: error: syntax error before '}' token
/usr/src/linux-2.6.7-gentoo-r14/include/linux/coda.h:769: warning: no semicolon at end of struct or union
/usr/src/linux-2.6.7-gentoo-r14/include/linux/coda.h:769: error: syntax error before '*' token
/usr/src/linux-2.6.7-gentoo-r14/include/linux/coda.h:772: error: syntax error before '}' token
dispatch.c:322: error: syntax error before '*' token
dispatch.c: In function `look_info':
dispatch.c:326: error: `id' undeclared (first use in this function)
dispatch.c:326: error: (Each undeclared identifier is reported only once
dispatch.c:326: error: for each function it appears in.)
dispatch.c: At top level:
dispatch.c:348: error: syntax error before '*' token
dispatch.c: In function `look_name':
dispatch.c:352: error: `id' undeclared (first use in this function)
dispatch.c: At top level:
dispatch.c:361: error: syntax error before '*' token
dispatch.c: In function `ref_fid':
dispatch.c:363: error: `fid' undeclared (first use in this function)
dispatch.c: At top level:
dispatch.c:369: error: syntax error before '*' token
dispatch.c: In function `unref_fid':
dispatch.c:371: error: `fid' undeclared (first use in this function)
dispatch.c: At top level:
dispatch.c:401: error: syntax error before "ViceFid"
dispatch.c: In function `create_file':
dispatch.c:406: error: `parentid' undeclared (first use in this function)
dispatch.c:409: error: `filename' undeclared (first use in this function)
dispatch.c:411: error: `newid' undeclared (first use in this function)
dispatch.c: In function `purge_file':
dispatch.c:430: error: structure has no member named `Volume'
dispatch.c:431: error: structure has no member named `Vnode'
dispatch.c:432: error: structure has no member named `Unique'
dispatch.c: In function `zap_file':
dispatch.c:449: error: structure has no member named `Volume'
dispatch.c:450: error: structure has no member named `Vnode'
dispatch.c:451: error: structure has no member named `Unique'
dispatch.c: At top level:
dispatch.c:585: error: syntax error before "ViceFid"
dispatch.c: In function `close_file':
dispatch.c:588: error: `of' undeclared (first use in this function)
dispatch.c:594: error: `ofp' undeclared (first use in this function)
dispatch.c:596: error: `fid' undeclared (first use in this function)
dispatch.c: In function `process_answer':
dispatch.c:684: warning: long int format, u_int32_t arg (arg 4)
dispatch.c:684: warning: long int format, u_int32_t arg (arg 6)
dispatch.c:694: warning: long int format, u_int32_t arg (arg 2)
dispatch.c:822: warning: long int format, u_int32_t arg (arg 2)
dispatch.c: In function `send_to_child':
dispatch.c:1061: error: structure has no member named `cred'
dispatch.c:1062: error: structure has no member named `cred'
dispatch.c:1112: warning: long int format, u_int32_t arg (arg 2)
dispatch.c: At top level:
dispatch.c:1143: error: syntax error before "ViceFid"
dispatch.c: In function `send_with_path':
dispatch.c:1149: error: `id' undeclared (first use in this function)
dispatch.c:1151: error: `req' undeclared (first use in this function)
dispatch.c:1157: error: `filename' undeclared (first use in this function)
dispatch.c:1159: error: `path2' undeclared (first use in this function)
dispatch.c:1165: error: `reqsize' undeclared (first use in this function)
dispatch.c: In function `process_kernel_req':
dispatch.c:1242: warning: long int format, u_int32_t arg (arg 3)
dispatch.c:1242: warning: long int format, u_int32_t arg (arg 4)
dispatch.c:1251: error: structure has no member named `Volume'
dispatch.c:1252: error: structure has no member named `Vnode'
dispatch.c:1253: error: structure has no member named `Unique'
dispatch.c:1315: error: structure has no member named `cred'
dispatch.c:1315: error: structure has no member named `cred'
dispatch.c:1526: warning: deprecated use of label at end of compound statement
dispatch.c: At top level:
/usr/src/linux-2.6.7-gentoo-r14/include/linux/coda.h:771: error: storage size of `vi' isn't known
make[1]: *** [dispatch.o] Error 1
make[1]: Leaving directory `/root/avfs-0.9.3/avfscoda'
make: *** [all] Error 2 | I'm using gentoo-dev-sources-2.6.7-r14 on a tbird 1333. Let me know if you need any more info, and thanks, all. |
Don't abuse gmails service, you'll only ruin it for other people. _________________ Gentoo Powered:Reiser4|2.6 bootstrapped|NPTL|UDEV|2.6.11-nitro2+gnome
Linux registered user #366983
ravensix[at]gmail[dot]com |
|
Back to top |
|
|
SuperJudge Apprentice
Joined: 08 Jun 2004 Posts: 177 Location: Albany, GA
|
Posted: Sat Oct 16, 2004 10:02 pm Post subject: |
|
|
Gentoo developers got the OK from Google before unmasking the libgmail ebuild, please don't intrude on threads and make off topic comments. I appreciate the assistance all. _________________ ---Powered by Honda |
|
Back to top |
|
|
ravensix Apprentice
Joined: 18 Sep 2004 Posts: 220
|
Posted: Sat Oct 16, 2004 10:06 pm Post subject: |
|
|
SuperJudge wrote: | Gentoo developers got the OK from Google before unmasking the libgmail ebuild, please don't intrude on threads and make off topic comments. I appreciate the assistance all. |
Yes, but did gentoo devs mention anything about using gmail as a filesystem? seeing how in the TOS it does talk about not using their service as file service, seeing how thats what gmailfs does.
Think about it, if google allowed the use of gmail, people would be inviting themselves instead of friends, just for the extra storage. _________________ Gentoo Powered:Reiser4|2.6 bootstrapped|NPTL|UDEV|2.6.11-nitro2+gnome
Linux registered user #366983
ravensix[at]gmail[dot]com |
|
Back to top |
|
|
SuperJudge Apprentice
Joined: 08 Jun 2004 Posts: 177 Location: Albany, GA
|
Posted: Sun Oct 17, 2004 2:37 am Post subject: |
|
|
ravensix wrote: | SuperJudge wrote: | Gentoo developers got the OK from Google before unmasking the libgmail ebuild, please don't intrude on threads and make off topic comments. I appreciate the assistance all. |
Yes, but did gentoo devs mention anything about using gmail as a filesystem? seeing how in the TOS it does talk about not using their service as file service, seeing how thats what gmailfs does.
Think about it, if google allowed the use of gmail, people would be inviting themselves instead of friends, just for the extra storage. | Go troll another thread, I told you that libgmail was hard masked until Google permission was obtained. It is against the TOS, but they don't care, as long as it's not abused.
You need to worry about yourself and stop trying to impose your beliefs on others.
The Gmail TOS isn't the topic of this thread, please let it end here. _________________ ---Powered by Honda |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|