Mail Archives: cygwin/1998/02/19/16:37:43
>From: Sven Dietrich <Sven_Dietrich AT trimble DOT com>
>To: gnu-win32 AT cygnus DOT com
>Subject: NTP Version 4 - MSVCRT???
>Date: Wed, 18 Feb 1998 11:35:13 -0800
>
>Hi Folks,
>
>I have got NTP v. 4 compiling under CygWin32 now,
>and linking ... with thanks to some input from you people...
>I am apparently having problems with the libraries now...
>but MSVCRT is just fine...
>
>Link:
>gcc -g -Wall -Wshadow -Wwrite-strings -Wconversion -Wpointer-arith
>-Wcast-qual -Wstrict-prototypes -o ntpd map_vme.o ntp_config.o
>ntp_control.o ntp_io.o ntp_loopfilter.o ntp_monitor.o ntp_peer.o
>ntp_proto.o ntp_refclock.o ntp_request.o ntp_restrict.o ntp_timer.o
>ntp_util.o ntp_intres.o ntp_filegen.o ntpd.o refclock_conf.o
>refclock_local.o ../libntp/libntp.a version.o libwsock32.a
libuser32.a
>libkernel32.a libgdi32.a libcomdlg32.a libshell32.a libole32.a
Get rid of libkernel32.a; it gets builtin via the spec file and you will
have problems if you add it to your link. It is also more customary to
do -lgdi32 -lcomdlg32 etc., gcc will then add the lib prefix and the .a
suffix to find the file.
>liboleaut32.a libuuid.a libadvapi32.a libwinmm.a
>
>Here is the GDB output:
>
>This GDB was configured as "i386-cygwin32"...
>(gdb) Breakpoint 1 at 0x41c5e0: file ntpd.c, line 181.
>Starting program: //D/ntp4/ntpd/ntpd.exe
>77650000://D/NT5/system32/wsock32.dll
>77ef0000://D/NT5/system32/KERNEL32.dll
>77630000://D/NT5/system32/WS2_32.dll
>************************************************************************
>***
>[failed reading symbols from DLL]
>"//D/NT5/system32/MSVCRT.dll": can't read symbols: File format not
>recognized.
>************************************************************************
>***
>77e50000://D/NT5/system32/USER32.dll
>77eb0000://D/NT5/system32/GDI32.dll
>723a0000://D/NT5/system32/MSIMG32.dll
>77d90000://D/NT5/system32/ADVAPI32.dll
>77dd0000://D/NT5/system32/RPCRT4.dll
>77620000://D/NT5/system32/WS2HELP.dll
>77fd0000://D/NT5/System32/winmm.dll
>10000000:/bin/cygwin.dll
>77fc0000://D/NT5/System32/mmdrv.dll
>6bd00000://D/NT5/System32/opl3sa32.dll
>
>Program received signal SIGSEGV, Segmentation fault.
>0x31bd8 in ?? ()
>
>Once again, if anyone has any idea... please let me know.
>
>Sven
>
>/*
> * Sven-Thorsten Dietrich
> * Software Component & Timing Solutions
> *
> * (408) 481-7289 (Voice)
> * (408) 481-2011 (Fax)
> */
>
>-
>For help on using this list (especially unsubscribing), send a message
to
>"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
>
- \\||//
---o0O0--Earnie--0O0o----
-earnie_boyd AT hotmail DOT com-
------ooo0O--O0ooo-------
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -