[Pixil-devel] Re: Problems compiling PIXIL DT
Atul <[email protected]> Wed, 21 Dec 2005 13:59:13 +0530
| Newsgroups | gmane.comp.web.viewml.devel |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: >Send Pixil-devel mailing list submissions to > [email protected] > >To subscribe or unsubscribe via the World Wide Web, visit > http://www.pixil.org/cgi-bin/mailman/listinfo/pixil-devel >or, via email, send a message with subject or body 'help' to > [email protected] > >You can reach the person managing the list at > [email protected] > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of Pixil-devel digest..." > > >Today's Topics: > > 1. Re: Problems compiling PIXIL DT (Greg Haerr) > 2. Re: Pixil-devel Digest, Vol 15, Issue 5 (Atul) > 3. Re: Problems compiling PIXIL DT (marquinhos) > 4. Re: Problems compiling PIXIL DT (Greg Haerr) > > >---------------------------------------------------------------------- > >Message: 1 >Date: Mon, 19 Dec 2005 21:05:06 -0700 >From: "Greg Haerr" <[email protected]> >Subject: Re: [Pixil-devel] Problems compiling PIXIL DT >To: "marquinhos" <[email protected]>, <[email protected]> >Message-ID: <00ed01c6051a$9068be70$6401a8c0@winXP> >Content-Type: text/plain; charset="iso-8859-1" > >What compiler version are you using? I think there >are some issues if you don't use the compiler version >stated in the pixil/docs info. > >Regards, > >Greg > > > > >While trying to compile pixil DT, i've run into a problem... if any1 >could help me out... > >In pixil_source_dir/pixilDT/NxDb > >I get a whole bunch of errors from file included from nxdb.cxx:43 > >for example: > >../include/nxdb.h:62: error: expected init-declarator before '<' token > >or even: > >../include/nxdb.h:86: error: 'string' does not name a type >../include/nxdb.h:91: error: 'string' has not been declared > >Can any1 help me out? > >thnks > >_______________________________________________ >Pixil-devel mailing list >[email protected] >http://www.pixil.org/cgi-bin/mailman/listinfo/pixil-devel > > > > >------------------------------ > >Message: 2 >Date: Tue, 20 Dec 2005 16:10:44 +0530 >From: Atul <[email protected]> >Subject: [Pixil-devel] Re: Pixil-devel Digest, Vol 15, Issue 5 >To: [email protected] >Message-ID: <[email protected]> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed > >[email protected] wrote: > > > >>Send Pixil-devel mailing list submissions to >> [email protected] >> >>To subscribe or unsubscribe via the World Wide Web, visit >> http://www.pixil.org/cgi-bin/mailman/listinfo/pixil-devel >>or, via email, send a message with subject or body 'help' to >> [email protected] >> >>You can reach the person managing the list at >> [email protected] >> >>When replying, please edit your Subject line so it is more specific >>than "Re: Contents of Pixil-devel digest..." >> >> >>Today's Topics: >> >> 1. Problems compiling PIXIL DT (marquinhos) >> >> >>---------------------------------------------------------------------- >> >>Message: 1 >>Date: Mon, 19 Dec 2005 13:41:22 -0200 >>From: marquinhos <[email protected]> >>Subject: [Pixil-devel] Problems compiling PIXIL DT >>To: [email protected] >>Message-ID: >> <[email protected]> >>Content-Type: text/plain; charset=ISO-8859-1 >> >>Hi, >> >>While trying to compile pixil DT, i've run into a problem... if any1 >>could help me out... >> >>In pixil_source_dir/pixilDT/NxDb >> >>I get a whole bunch of errors from file included from nxdb.cxx:43 >> >>for example: >> >>../include/nxdb.h:62: error: expected init-declarator before '<' token >> >>or even: >> >>../include/nxdb.h:86: error: 'string' does not name a type >>../include/nxdb.h:91: error: 'string' has not been declared >> >>Can any1 help me out? >> >>thnks >> >> >> >>------------------------------ >> >>_______________________________________________ >>Pixil-devel mailing list >>[email protected] >>http://www.pixil.org/cgi-bin/mailman/listinfo/pixil-devel >> >> >>End of Pixil-devel Digest, Vol 15, Issue 5 >>****************************************** >> >> >> >> >> >Hi, > I had also faced same problem for fedora core 3 with gcc 3.4. >Please specify std:: (that is resolve the scope where ever it says does >not name a type) ....If it also doesn't work you might have seen note >form gcc to use typename. So go with that and specify typename whereever >appropriate (eg. typename std::string) . This will remove almost all >errors which say "missing ; and or dependent name related errors" > Any ways let me know which version of gcc and OS you are using. >Pls see README file in PixilDT it says: > PIXIL 1.2 for the desktop is dependent on the following Linux features >being present on the desktop being used: > >1. RedHat 7.1 or 7.2 >2. The expect package being present. If this is not installed, you > can retrieve and install it from the RedHat installation CDs. >3. XFree86 version 4.1 or above > > >Please see the README.Desktop file for more information on obtaining and >installing dependent packages. > >Best of luck. >Atul > >***********************Confidentiality Notice*************************** > > The information contained in this electronic message and any attachments >to this message are intended for the exclusive use of the addressee(s) >and may contain confidential or privileged information. If you are not >the intended recipient, please notify the sender at Divinet or >[email protected] immediately and destroy all copies of this >message and any attachments. > >************************************************************************ > > > > >------------------------------ > >Message: 3 >Date: Tue, 20 Dec 2005 13:16:52 -0200 >From: marquinhos <[email protected]> >Subject: Re: [Pixil-devel] Problems compiling PIXIL DT >To: [email protected] >Message-ID: > <[email protected]> >Content-Type: text/plain; charset=ISO-8859-1 > >I said: > > > >>>While trying to compile pixil DT, i've run into a problem... if any1 >>>could help me out... >>>I get a whole bunch of errors from file included from nxdb.cxx:43 >>>for example: >>>../include/nxdb.h:86: error: 'string' does not name a type >>> >>> > >You said: > > >> I had also faced same problem for fedora core 3 with gcc 3.4. >>Please specify std:: (that is resolve the scope where ever it says does >>not name a type). This will remove almost all >>errors which say "missing ; and or dependent name related errors" >> Any ways let me know which version of gcc and OS you are using. >>Pls see README file in PixilDT it says: >>1. RedHat 7.1 or 7.2 >>2. The expect package being present. If this is not installed, you >> can retrieve and install it from the RedHat installation CDs. >>3. XFree86 version 4.1 or above >> >> > >Ok... it seems that the nxdb.h file had the following: > >#ifdef WIN32 >#ifdef _DEBUG >#define DEBUG >#endif >using namespace std; >#endif > >I just removed the ifdefs.. the missing errors are gone now.. thanks... > >I havent been able to compile yet.. now theres a new error... > >nxdb.cxx: In member function `int NxDb::Close(std::string)': >nxdb.cxx:147: warning: control reaches end of non-void function >nxdb.cxx: In member function `int NxDb::Create(std::string, fildes*, >field*, int, int)': >nxdb.cxx:180: error: `cerr' undeclared (first use this function) >nxdb.cxx:180: error: (Each undeclared identifier is reported only once >for each function it appears in.) >nxdb.cxx:181: error: `endl' undeclared (first use this function) >nxdb.cxx: In member function `void NxDb::Insert(std::string, char*)': >nxdb.cxx:243: error: `cerr' undeclared (first use this function) >nxdb.cxx: In member function `void NxDb::Edit(std::string, int, char*)': >nxdb.cxx:296: error: `cerr' undeclared (first use this function) >nxdb.cxx:296: error: `endl' undeclared (first use this function) > >by any chance did u have a similar error as well? :) > >anyhow.... Ill look in to it... > >We have multiple hosts... at home im using Debian sarge 3.1.. the rest >is exactly as noted in the README... at work we got Red Hat... > >home: >arm-linux-gcc -> 2.95.3 >gcc -> 3.3.5 > >work: >arm-linux-gcc -> 2.95.3 >gcc -> 3.4 > >ok... > >later... > > > >------------------------------ > >Message: 4 >Date: Tue, 20 Dec 2005 09:08:56 -0700 >From: "Greg Haerr" <[email protected]> >Subject: Re: [Pixil-devel] Problems compiling PIXIL DT >To: "marquinhos" <[email protected]>, <[email protected]> >Message-ID: <022601c6057f$afc24dd0$6401a8c0@winXP> >Content-Type: text/plain; charset="iso-8859-1" > >home: >arm-linux-gcc -> 2.95.3 >gcc -> 3.3.5 > >work: >arm-linux-gcc -> 2.95.3 >gcc -> 3.4 > > >I think PIXIL DT needs to be compiled with 2.95, >of course, it only runs on the desktop. (and hasn't >been updated for the newer [in]compatible C++ >versions. > >Regards, > >Greg > > > > >------------------------------ > >_______________________________________________ >Pixil-devel mailing list >[email protected] >http://www.pixil.org/cgi-bin/mailman/listinfo/pixil-devel > > >End of Pixil-devel Digest, Vol 15, Issue 6 >****************************************** > > > Hi, Checkout whether standard iostream file is included...include it...These Errors will go. Bye Atul ***********************Confidentiality Notice*************************** The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Divinet or [email protected] immediately and destroy all copies of this message and any attachments. ************************************************************************