Displaying 1 result from an estimated 1 matches for "lib_ref".
Did you mean:
is_ref
2006 May 26
1
DO NOT REPLY [Bug 3806] New: makedev has 3 arguments in qnx
...,
I cross-compiled rsync to QNX on a sh4 embedded system. When compiling the file
flist.c I get the error that makedev requires 3 arguments but only 2 are
supplied.
I went and looked at how it is defined in QNX and according to the QNX website
(http://www.qnx.com/developers/docs/6.3.0SP1/neutrino/lib_ref/s/stat.html) the
makedev works as follows in QNX:
makedev( node, major, minor)
Build a device ID from the given numbers. Currently, the node argument
isn't used and must be zero
So what I did to fix the problem is defined:
#define MAKEDEV(a,b) makedev(0,a,b)
and then replaced makedev wit...