Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Steve Baldwin" To: Subject: Missing (?) function mallinfo Date: Sat, 22 Feb 2003 11:31:55 +1100 Message-ID: <000001c2da09$ce4a6ca0$3264a8c0@AUSTBMOBILE> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 I'm having problems porting some Unix code to cygwin. Here's a small sample, and the error I'm seeing. Any help appreciated. Steve [cdev]$ cat a.c #include #include #include int main (int argc, char **argv) { struct mallinfo mi ; mi = mallinfo() ; } [cdev]$ gcc a.c -o a /cygdrive/c/DOCUME~1/STBALD~1/LOCALS~1/Temp/cc6nUjGR.o(.text+0x25):a.c: undefined reference to `_mallinfo' collect2: ld returned 1 exit status -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/