[ntp:hackers] NTP 4.2.3p7 Released

Harlan Stenn stenn at ntp.isc.org
Fri Jun 23 08:03:26 UTC 2006


(I fixed Bruce's email address)

> stenn at ntp.isc.org wrote:
> > Terje,
> > 
> > Exactly what problems are you having getting libopts to compile under MS
> > VC6?
> 
> When trying to build ntpd I get the following link errors, after 
> manually inserting "../../../libopts" in the compiler Include paths to 
> get it to compile:
> 
> -------------Configuration: ntpd - Win32 Debug--------------------
> Compiling...
> cmd_args.c
> Linking...
> cmd_args.obj : error LNK2001: unresolved external symbol _optionUsage
the libopts library

> cmd_args.obj : error LNK2001: unresolved external symbol _ntpdOptions
ntpd-opts.o should have them

> ntpd.obj : error LNK2001: unresolved external symbol _ntpdOptions
> ntpd.obj : error LNK2001: unresolved external symbol _optionProcess
> ntservice.obj : error LNK2001: unresolved external symbol _ntpd_usage
> ../bin/Debug/ntpd.exe : fatal error LNK1120: 4 unresolved externals
> Error executing link.exe.
> 
> ntpd.exe - 6 error(s), 0 warning(s)
> 
> 
> The problem is most likely that libopts doesn't have a project entry in 
> the workspace.
> 
> So it seems like a set of missing entries to include the option handling 
> code in the project, but I haven't been able to figure out how to get 
> this to work. :-(

I have no idea there.

H


More information about the hackers mailing list