Skip to contentSkip to conversation

problem in compiling nlmtest.c

DISCUSSION imran 1 participant 1 message Dec 18, 2002

Subsystems (2)
lore
Share & tools
lore

imran

author
#0 lore raw

Hi
currently i am working with NLM test utility available under
nfs-utils-0.3.3. while compiling nlmtest.c I am getting following error

debian:/home/imran/LockStudy/nfs-utils-0.3.3/tools/nlmtest# make
gcc -g -O2 -D_GNU_SOURCE -Isupport/include -Wall  -pipe  -DVERSION="\"nfs-ut
ils 0.3.3\"" -D
NFS3_SUPPORTED   -c -o nlmtest.o nlmtest.c
nlmtest.c: In function `main':
nlmtest.c:101: incompatible type for argument 1 of `nlm_test_1'
nlmtest.c:135: incompatible type for argument 1 of `nlm_unlock_1'
nlmtest.c:153: incompatible type for argument 1 of `nlm_lock_1'
make: *** [nlmtest.o] Error 1

I have updated host.h with appropriate host name and appropriate directory

could anybody help me to build nlmtest.o

Thanks and regards

################################
Imran Sheth
Senior Software Engineer
Patni Computer System
SDF 5, Unit 141,SEEPZ
Andheri
ph : 28291454 extn:5017
################################