Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Error in compile on amd64
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Maxxer  
View profile  
 More options Jun 24 2005, 5:09 am
From: "Maxxer" <max...@libero.it>
Date: Fri, 24 Jun 2005 02:09:26 -0700
Local: Fri, Jun 24 2005 5:09 am
Subject: Error in compile on amd64
Hi

I'm trying to compile p3nfs on my Gentoo AMD64 but I get this error:

$ make
cd nfsd; make all
make[1]: Entering directory
`/home/maxxer/download/gzipped/p3nfs-5.18/nfsd'
gcc -O2 -Wall -I.   -c -o mp_main.o mp_main.c
gcc -O2 -Wall -I.   -c -o mp_mount.o mp_mount.c
In file included from /usr/include/linux/nfs.h:11,
                 from nfs_prot.h:7,
                 from mp_mount.c:64:
/usr/include/linux/string.h:16: error: parse error before
"__extension__"
/usr/include/linux/string.h:16: error: parse error before '&&' token
/usr/include/linux/string.h:17: error: parse error before
"__extension__"
/usr/include/linux/string.h:17: error: parse error before '&&' token
/usr/include/linux/string.h:18: error: parse error before
"__extension__"
/usr/include/linux/string.h:18: error: parse error before '&&' token
/usr/include/linux/string.h:19: error: parse error before
"__extension__"
/usr/include/linux/string.h:19: error: parse error before '&&' token
In file included from /usr/include/linux/nfs.h:11,
                 from nfs_prot.h:7,
                 from mp_mount.c:64:
/usr/include/linux/string.h:48: error: parse error before
"__extension__"
/usr/include/linux/string.h:54: error: parse error before
"__extension__"
mp_mount.c: In function `mount_and_run':
mp_mount.c:601: warning: passing arg 2 of `__FD_SET' from incompatible
pointer type
mp_mount.c:602: warning: passing arg 2 of `__FD_SET' from incompatible
pointer type
mp_mount.c:609: warning: passing arg 2 of `__FD_ISSET' from
incompatible pointer type
mp_mount.c:629: warning: passing arg 2 of `__FD_ISSET' from
incompatible pointer type
make[1]: *** [mp_mount.o] Error 1
make[1]: Leaving directory
`/home/maxxer/download/gzipped/p3nfs-5.18/nfsd'
make: *** [all] Error 2

Are you aware of this?
If not, is there any way I can help to solve the problem?
thanks
maxxer


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rudolf Koenig  
View profile  
 More options Jun 24 2005, 6:48 am
From: "Rudolf Koenig" <inf...@koeniglich.de>
Date: Fri, 24 Jun 2005 03:48:18 -0700
Local: Fri, Jun 24 2005 6:48 am
Subject: Re: Error in compile on amd64
Please delete the line

#define __KERNEL__            /* define nfs_fh for nfs_mount_data */

in mp_mount.c. The problem is not gentoo or AMD64 specific, newer
kernel includes seems to be fixed, so we do not need the __KERNEL__
define any more.

  Rudi


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Maxxer  
View profile  
 More options Jun 27 2005, 7:24 am
From: "Maxxer" <lorenzo.mil...@gmail.com>
Date: Mon, 27 Jun 2005 11:24:26 -0000
Local: Mon, Jun 27 2005 7:24 am
Subject: Re: Error in compile on amd64
thanks :)

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google