From: "Morpheus" Newsgroups: comp.os.msdos.djgpp Subject: Re: compiling C++ Date: Fri, 5 Nov 1999 05:45:34 -0600 Organization: University of North Texas Lines: 34 Message-ID: <7vug34$78l@hermes.acs.unt.edu> References: <7vsnag$jhc AT hermes DOT acs DOT unt DOT edu> <38225bcb DOT 13538055 AT newsserver DOT cc DOT monash DOT edu DOT au> NNTP-Posting-Host: dfw-premium-2.dialup.unt.edu X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 To: djgpp AT Delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com My StringUtils module has no 'main' function. It just contains several functions. *StringUtils.h* char** newStringArray(); void freeStringArray(); ... *StringUtils.cpp* char** newStringArray() { ... } void freeStringArray() { ... } ... Like normal stuff. If you look in my original post, it seems to have an undefined reference to main in some modules in the djgpp library. Dean. Davin McCall wrote in message news:38225bcb DOT 13538055 AT newsserver DOT cc DOT monash DOT edu DOT au... > The error message seems to pertain to a missing "main" function. > However you obviously *do* have a main() function, which leads be to > think that perhaps there might be something wrong with > "StringUtils.h". > > Davin.