DHCP for QNX 6.3

Hello!

If you can, send me dhcp server (code or dhcpd-utility). I try to use dhcp-server (ISC), but I couldn’t compile its code.
e-mail: note_leonid[at]mail.ru

Thank you.

I compiled and used ISC dhcpd successfully under 6.3.0 SP2 for x86, just a few modifications were necessary. I can send you the modified code when I’m back in the office on Wednesday or Thursday - remind me if I forget! If you need dhcpd for platform other than x86 we have to see if we can port it.

Regards,
Albrecht

2Albrecht:
thanks

Can you post the modified code?

I just produceds a tar.gz of my local source tree but it’s 6.8MB and doesn’t fit anywhere. Please give me a mail account where to send it. Otherwise I will try to pick out the modified C-Files, but right now I’m on a business trip. I will try my best.

Regards,
Albrecht

In all makefiles, search recursivly, comment out all lines staring with nroff.

replace in ‘include/cf/qnx.h’ (around line 93):
#ifndef QNXNTO
typedef unsigned char u_int8_t;
typedef unsigned short u_int16_t;
typedef unsigned long u_int32_t;
typedef signed short int16_t;
typedef signed long int32_t;
#endif

#ifdef QNXNTO
typedef int socklen_t;
#endif

with:

//#ifndef QNXNTO
typedef unsigned char u_int8_t;
typedef unsigned short u_int16_t;
typedef unsigned long u_int32_t;
#ifndef QNXNTO
typedef signed short int16_t;
typedef signed long int32_t;
#endif

//#ifdef QNXNTO
//typedef int socklen_t;
//#endif

This should do the trick.

Cheers,
Freddy

A little update on the nroff step:

You don’t need to remove the nroff references in the makefile, a simple shellscript named nroff in /usr/bin should do the trick. The shell script should contain:

#!/bin/sh
more $1

Cheers,
Freddy