From: Grzegorz J. <ja...@he...> - 2004-01-19 00:48:40
|
On Sun, 18 Jan 2004, Shishir Ramam wrote: > > While compiling OpenCxx + cygwin, kept running > into a link error when compiling libltdl. > > An earlier post mentioned reinstalling cygwin. > This did not solve me problem, and after a bit > of hunting, found > http://www.cygwin.com/faq/faq_4.html#SEC95 > > To fix, open opencxx-2.7/libltdl/ltdl.c and add > > void main(void) {}; > > seems to have solved my problem. > Hoping it helps others. Thanks! Can it be accomplished without touching libltdl? E.g. would that be enough to just add a dummy library containing just empty main() on the link line? If so, then should I add it before or after -lltdl ? Regards Grzegorz > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Opencxx-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opencxx-users > > ################################################################## # Grzegorz Jakacki Huada Electronic Design # # Senior Engineer, CAD Dept. 1 Gaojiayuan, Chaoyang # # tel. +86-10-64365577 x2074 Beijing 100015, China # # Copyright (C) 2003 Grzegorz Jakacki, HED. All Rights Reserved. # ################################################################## |