Comments (8)
Thanks for the info.
I've just pushed 69871f0 which should fix it.
from liblxi.
Not really. Using libtirpc-1.0.3-0.fc29 and rpcgen-1.3.1-3.fc28 (Rawhide), I end up like this:
+ /usr/bin/make -O -j48
Making all in src
make[1]: Entering directory '/builddir/build/BUILD/liblxi-1.12/src'
rpcgen -M vxi11core.rpcl
make[1]: Leaving directory '/builddir/build/BUILD/liblxi-1.12/src'
This implementation doesn't support newstyle or MT-safe code!
usage: rpcgen infile
rpcgen [-abkCLNTM][-Dname[=value]] [-i size] [-I [-K seconds]] [-Y path] infile
rpcgen [-c | -h | -l | -m | -t | -Sc | -Ss | -Sm] [-o outfile] [infile]
rpcgen [-s nettype]* [-o outfile] [infile]
rpcgen [-n netid]* [-o outfile] [infile]
options:
-a generate all files, including samples
-b backward compatibility mode (generates code for SunOS 4.1)
-c generate XDR routines
-C ANSI C mode
-Dname[=value] define a symbol (same as #define)
-h generate header file
-i size size at which to start generating inline code
-I generate code for inetd support in server (for SunOS 4.1)
-K seconds server exits after K seconds of inactivity
-l generate client side stubs
-L server errors will be printed to syslog
-m generate server side stubs
-M generate MT-safe code
-n netid generate server code that supports named netid
-N supports multiple arguments and call-by-value
-o outfile name of the output file
-s nettype generate server code that supports named nettype
-Sc generate sample client code that uses remote procedures
-Ss generate sample server code that defines remote procedures
-Sm generate makefile template
-t generate RPC dispatch table
-T generate code to support RPC dispatch tables
-Y path directory name to find C preprocessor (cpp)
-5 SysVr4 compatibility mode
--help give this help list
--version print program version
make[1]: *** [Makefile:790: vxi11core_clnt.c] Error 1
But it feels like rpcgen-1.3.1-3.fc28 is the issue here, given I can successfully build using rpgcgen
from RHEL 7, filed https://bugzilla.redhat.com/show_bug.cgi?id=1559181
from liblxi.
69871f0 breaks FreeBSD build (there's no pkgconfig for Sun RPC, it's in base).
from liblxi.
It's not easy to make checks that work on different platforms and different versions of same platforms.
@dmgk You will have to use libtirpc_CFLAGS and libtirpc_LIBS to override the pkg-config checks.
from liblxi.
Wouldn't it make sense to have something like (metacode):
if !AC_CHECK_HEADERS(rpc/rpc.h) then
PKG_CHECK_MODULES([libtirpc], [libtirpc])
fi
from liblxi.
Something like that could be done yes.
from liblxi.
That would be great, because it would also cover other plattforms properly.
from liblxi.
Ok. Fixed in 1233cb1. It's not elegant but it gets the job done.
from liblxi.
Related Issues (20)
- build from source instructions? HOT 4
- Fresh build on OSX complains about avahi-client being missing HOT 9
- lxi-tools on Raspberry Pi HOT 1
- server code or client code ? HOT 1
- Use alternative RPC library? HOT 1
- Undefined reference error despite linking library HOT 1
- Request: iOS Compatibility HOT 1
- Build help on Ubuntu HOT 1
- Missing liblxi-1.14.tar.xz.asc HOT 2
- Publish mail address of signing public key of liblxi at keys.openpgp.org? HOT 2
- CMake Support HOT 3
- Refactor pthread_timedjoin_np usage? HOT 2
- warning: cast between incompatible function types HOT 1
- lxilua.c needs a change otherwise it may get conflict with other lua "connect" functions. HOT 2
- lib-tools support on windows? HOT 2
- MacOS (arm64) build support HOT 20
- MacOS mdns (Bonjour) backend and instrument discovery HOT 7
- Avahi-client issue when installing from source on Ubuntu 23.04 HOT 7
- gethostbyname() obsolete HOT 2
- liblxi.so should link against libtirpc HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liblxi.