Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


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

Rep: Reputation: 0
error during make

i have downloaded a code from 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[] =
XDR_AND_SIZE(ndmp_connect_open_request) ,
Old 09-29-2007, 01:48 PM   #2
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
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 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?


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

Rep: Reputation: 0
ndmpcopy error during make

go to the lib directory.
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)


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

run make


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 / openSUSE 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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:22 PM.

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