From: warisawa AT pi DOT titech DOT ac DOT jp ("Shin'ichi Warisawa") Subject: problems with lgamma() 12 May 1997 14:28:09 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <3376EC01.317B.cygnus.gnu-win32@pi.titech.ac.jp> Reply-To: warisawa AT pi DOT titech DOT ac DOT jp Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01Gold [ja] (WinNT; I) Original-To: gnu-win32 AT cygnus DOT com Original-Sender: owner-gnu-win32 AT cygnus DOT com I'm having a trouble in compiling and liking a program listed as follows. #include #include main() { double l; l = lgamma(1); printf("%lf\n", l); } Compiling environment is on Win NT 4.0 with cygwin32 beta 18. Compiling processes and messages are as follows: bash$ gcc -o lgamma lgamma.c /tmp\cc0015931.o(.text+0x1b):lgamma.c: undefined reference to `lgamma' gcc: Internal compiler error: program ld got fatal signal 1 bash$ gcc -o lgamma lgamma.c -lm C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-2.7.2-970404\../../../../i386-cygwin32\lib/libm.a(w_lgamma.o)(.text+0x7):w_lgamma.c: undefined reference to `signgam' gcc: Internal compiler error: program ld got fatal signal 1 Please give me solutions against the error. Thanks -- Precision and Intelligence Laboratory, Tokyo Institute of Technology Shin'ichi Warisawa (warisawa AT pi DOT titech DOT ac DOT jp) - 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".