delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/05/16:15:46

X-Spam-Check-By: sourceware.org
From: "Lee Rhodes" <lee AT rhoba DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Re: Help with strange compiler error linking to GSL
Date: Thu, 5 Jul 2007 13:14:45 -0700
Message-ID: <002f01c7bf41$22b44f10$0701a8c0@lee8075b>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Brian,
   Thanks.  Here is the output from Eclipse:


make -k all 
Building file: ../main.cpp
Invoking: GCC C++ Compiler
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"main.d" -MT"main.d"
-o"main.o" "../main.cpp"
Finished building: ../main.cpp
 
Building target: TestGSL.exe
Invoking: GCC C++ Linker
g++  -o"TestGSL.exe"  ./main.o   
./main.o: In function `main':
/cygdrive/f/CPP/TestGSL/Debug/../main.cpp:7: undefined reference to
`_gsl_sf_bessel_J0'
collect2: ld returned 1 exit status
make: *** [TestGSL.exe] Error 1
make: Target `all' not remade because of errors.
Build complete for project TestGSL

Lee.
   


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019