Hello All,
I'm not sure if this is the right place for me to post my problem. If not
then apologies and please direct me to appropriate mailing list. Ok now the
problem.
#1. I am porting our existing application from solaris to linux using
mandrake 8.1.
Somehow I am still compiling the code on madrake using g++ and it has been
complaining about quite a few missing files which are present in
/usr/include.
Not only are there are missing files, there are files with different
function signatures.
We've used those functions in our existing application. I could probably fix
those calls to the ones on mandrake, but what do i with files which are
missing on mandrake.
e.g. /usr/include/sys/systeminfo.h , ttold.h etc. These are standard headers
from AT&T or SGI etc. I'm not sure what to do.
Why are these files aren't included on mandrake?
#2. Is it correct to leave a space in declaring args to following function.
This has been cut paste from file /usr/include/netdb.h.
Quite surprisingly there is no compilation error but please explain me this
novel syntax. All these lines have a space ..looks a space if not some
invisible character. plz expalin this anomaly.
======= from /usr/include/netdb.h ===================
extern int gethostbyname_r (__const char *__restrict __name, <<<<see this
line
struct hostent *__restrict __result_buf,
<<<<see this line
char *__restrict __buf, size_t __buflen,
struct hostent **__restrict __result,
<<<<see this line
int *__restrict __h_errnop) __THROW;
==================================================
Thanks for ur patience
Please Advise,
-Nitin
B
_________________________________________________________________
Choose an Internet access plan right for you -- try MSN!
http://resourcecenter.msn.com/access/plans/default.asp
