[Hamlib-developer] Building hamlib
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Wilbert K. <zl...@zl...> - 2003-01-29 10:25:49
|
Thanks for reading this. I am having trouble compiling hamlib-1.1.4-cvs-021226 It goes wrong in ./rpcrig at this statement: [root@zl2bsj rpcrig]# make rm -f rpcrig.h rpcgen -h `test -f rpcrig.x || echo './'`rpcrig.x -o rpcrig.h typedef unsigned hyper setting_x; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rpcrig.x, line 42: expected ';' make: *** [rpcrig.h] Error 1 [root@zl2bsj rpcrig]# It looks like rpcgen is complaining about the syntax in rpcrig.x: <snip> /* This gets stuffed into the source files. */ #if RPC_HDR %#ifdef HAVE_CONFIG_H %#include "config.h" %#endif %#include <rpc/xdr.h> %#include <hamlib/rig.h> #endif typedef unsigned int model_x; typedef int vfo_x; typedef hyper freq_x; typedef unsigned int rmode_x; typedef int pbwidth_x; typedef unsigned long split_x; typedef int ptt_x; typedef int dcd_x; typedef long vfo_op_x; typedef long shortfreq_x; typedef unsigned hyper setting_x; typedef long ant_x; <snip> Has anyone come across this before? I am installing on a Mandrake 7.2 system with 2.2.20 kernel, latest autoconf and automake. The rpcgen program came with: glibc-2.1.3-16mdk. Any pointers appreciated. Wilbert, ZL2BSJ |