LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-29-2007, 12:40 PM   #1
ravish.kanika
LQ Newbie
 
Registered: Sep 2007
Posts: 7

Rep: Reputation: 0
error during make


i have downloaded a code from ndmp.org regarding ndmpcopy.during the make an error :'pasting "xdr_ndmp_connect_open_request" and "," does
not give a valid preprocessing token'occured.This error occurred for every alternate line.The line in bold is giving the above mentioned error.

NdmpMsgHandler ndmp_msg_handler_tbl[] =
{
{
NDMP_CONNECT_OPEN, 2,
0,
AUTH_NOT_REQUIRED,
XDR_AND_SIZE(ndmp_connect_open_request) ,
XDR_AND_SIZE(ndmp_connect_open_reply)
},
{
NDMP_CONNECT_CLIENT_AUTH, 2,
0,
AUTH_NOT_REQUIRED,
XDR_AND_SIZE(ndmp_connect_client_auth_request),
XDR_AND_SIZE(ndmp_connect_client_auth_reply)
},
 
Old 09-29-2007, 01:48 PM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Hi, and welcome to LQ!
Wow.. Looks like you have uncovered a serious problem with that code. Thanks for letting us know. Have you contacted the designer of that code? You should, and see if they are aware of the problem. If they are, what do/did they say about it?

In order to get a handle on just how difficult that might be for LQ members to fix under the circumstances, I recommend using Skyhook for Linux (or whichever operating system you are using) from www.mysteriouschunksofcode.org as a diagnostic tool; while Skyhook is downloading, please post what operating system you are using, what machine type, with which kernel, which compiler & version and which make version, and also any relevant info you have some up with about this from either Google, or from the SEARCH function on LQ here, or from the developer of the code, as well as what you have tried so far to fix it. Incidentally, what's this code supposed to do?

Thanks.

Last edited by GrapefruiTgirl; 09-29-2007 at 01:49 PM.
 
Old 02-15-2008, 10:43 AM   #3
eds1
LQ Newbie
 
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
ndmpcopy error during make

go to the lib directory.
chmod
chmod 0666 ndmp_common.h
vi ndmp_common.h
change the line below
#define XDR_AND_SIZE(func) (bool_t(*)(XDR*, ...))xdr_##func##,sizeof(func)

to

#define XDR_AND_SIZE(func) (bool_t(*)(XDR*, ...))xdr_##func ,sizeof(func)

run make
 
  


Reply

Tags
error, make


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RH9 make menuconfig error: make[1]: *** [lxdialog] Error 1 rrochele Linux - Kernel 3 02-07-2007 03:39 PM
make bzImage failure: make[1]: *** [init/version.o] Error 1 nmainak Linux - Kernel 2 07-16-2006 05:06 PM
Really, really Weird trouble with make (make error 2) flyeater Suse/Novell 5 06-20-2005 12:05 PM
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 11:19 AM
make: cc: command not found make: *** [gzip.o]error 127 zyjk Linux - Newbie 5 02-08-2002 09:58 AM


All times are GMT -5. The time now is 08:52 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration