Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <3.0.32.19990715094319.00a7b820@pobox> X-Sender: farshadm AT pobox X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Thu, 15 Jul 1999 09:43:19 -0400 To: cygwin AT sourceware DOT cygnus DOT com From: farshad mahjoubi Subject: Link is breaking for setbuffer() Cc: farshadm AT nortelnetworks DOT com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" >HI > >I am trying to port our Application to WinNT. My link is breaking with >this ERROR that complaines about function setbuffer(). > >Setbuffer() is being called from a C Source code and I see that it is >been declared in stdio.h > >Does anyone know which library in /cygnus/cygwin contains the setbbuffer() > >why the standard libraries I am linking (which >_should_ contain the setbuffer function) don't do so... ? > >Libcommada.a is the actaull library which is calling the setbuffer() >and we are trying to link all the *.a libraries and build our bcc.exe . > >Any Help would be appreciated. > >Thanks Farshad... > >----------------------------------------------------------------- > >File d:\cygnus\cygwin~1\h-i586~1\i586-c~1\include\stdio.h: >193 void _EXFUN(setbuffer, (FILE *, char *, int)); >File d:\cygnus\cygwin~1\include\g__~1\iostdio.h: >88 #define setbuffer _IO_setbuffer >------------------------------------------------------------------ > >gcc -o ../../_CYGWIN_NT-4.1-x86-ROUTER/bcc >../../_CYGWIN_NT-4.1-x86-ROUTER/bccMain.o >../../_CYGWIN_NT-4.1-x86-ROUTER/osHost.o -L../../_CYGWIN_NT-4.1-x86-ROUTER >-lcommands -lnewshow -lsystem -lwfndm -lsystem -lshow -lmql -lmib -lmibdb >-ltype -lcompat -ltcllite -lutil -lscripts >/cygnus/cygwin-b20/h-i586-cygwin32/lib/libreadline.a >../../CYGWIN_NT-4.1.../libcommands.a(mibCmds.o) in function mdump_cmds >//d/farbcc/tree/bcc/commands/mibCmds.c: 572: undefined reference to >'setbuffer' >collect2 ld returned i exit status. > > > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com