>>> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Prathapnirmal) writes:

prathapnirmal> * I see configure.in only in arlib directory. So do I have to
prathapnirmal> update anything in this file?

No.  There will be a top-level configure.ac that might need to be updated
though.

prathapnirmal> * Do I have to rerun autoconf
prathapnirmal> and automake to regenerate the configure script?

Yes.

prathapnirmal> """ The configure.in
prathapnirmal> <http://www.cis.udel.edu/%7Emills/ntp/html/configure.in>file
prathapnirmal> needed to be altered to allow for a host-target configuration
prathapnirmal> to take place.

That path looks wrong to me, but that's not important.

This should already be done.

prathapnirmal>    - The define SYS_VXWORKS was added to the compilation
prathapnirmal> flags.  - Little endianess is set if the target is of type
prathapnirmal> iX86.  - The size of char, integer, long values are all
prathapnirmal> set. If Wind River ever changes these values they will need
prathapnirmal> to be updated.  - clock_settime() is defined to be used for
prathapnirmal> setting the clock.  - The Linking flags have -r added to
prathapnirmal> allow for relinking into the vxWorks kernel

prathapnirmal> Unfortunately I have had to make use of the ntp_machine.h
prathapnirmal> 
<http://www.cis.udel.edu/%7Emills/ntp/html/include/ntp_machine.h>file
prathapnirmal> to add in the checks that would have been checked at linking
prathapnirmal> stage by autoconf, a better method should be devised.

configure should do that already - it should detect you are building for
vxworks and set -DSYS_VXWORKS.  Then, in ntp_machine.h the values will be
chosen.

What's the problem?  This should be working as intended.

prathapnirmal>    - There is now a NO_MAIN_ALLOWED define that simulates
prathapnirmal> command line args, this allows the use of the normal startup
prathapnirmal> sysntax.  - POSIX timers have been added.  - Structures
prathapnirmal> normally found in netdb.h have been added with, the
prathapnirmal> corresponding code is in machines.c
prathapnirmal> <http://www.cis.udel.edu/%7Emills/ntp/html/libntp/machines.c>. 
Where
prathapnirmal> possible the defines for these have been kept non-vxWorks
prathapnirmal> specific.

prathapnirmal> Unfortunately there are still quite a few SYS_VXWORKS type
prathapnirmal> defines in the source, but I have eliminated as many as
prathapnirmal> possible. You have the choice of using the usrtime.a library
prathapnirmal> avaliable from the vxworks archives or forgoing adjtime() and
prathapnirmal> using the clock_[get|set]time().The ntp_machine.h
prathapnirmal> 
<http://www.cis.udel.edu/%7Emills/ntp/html/include/ntp_machine.h>file
prathapnirmal> clearly marks how to do this.  """

Are you saying you have patches to make it work for you now?

H

_______________________________________________
questions mailing list
questions@lists.ntp.org
https://lists.ntp.org/mailman/listinfo/questions

Reply via email to