ts-7000
[Top] [All Lists]

[ts-7000] Re: Trying to setup for developement. -Decided to use Eclipse

To:
Subject: [ts-7000] Re: Trying to setup for developement. -Decided to use Eclipse
From: "Richard" <>
Date: Sun, 20 Jan 2008 18:38:24 -0000
--- In  "Martin Guy" <> wrote:
>
> > The bad thing is with each flavor of Linux
> > things tend to be a little bit different.
> 
> I know the feeling, but the alternative is having them all the same,
> which can only be achieved by preventing anyone from innovating, which
> is why the commercial offerings you are used to are so stagnant. On
> the one hand, innovators depart from the norm specifically to discover
> new, maybe better, ways of doing things; on the other there are
> constant efforts at standardisation and making the bewildering range
> of different ideas interwork better and to eliminate pointless
> differences.
>    The freedom to choose, unfortunately, brings diversity. Actually,
> the marvel is that one prorgam *can* work on five hundred different
> operating systems. For a comparison, consider running an old-style Mac
> program under Windows or vice-versa without a compatibility library or
> emulator and see how much fun you can have...
>   A friend put it (and no offence is intended - I just don't know of a
> better metaphor) "People who only know Windows are like people who
> have been in prison a long time. If you let them out, all they want to
> do is get back to their cell."
>   Welcome to the free world...
> 
>      M
>


Yea I agree with you to some extent.  Linux has come a long way since
I first looked into it 10 years ago.  For the most part it is
structured and organized however coming form a windows environment I
have no clue where to look for the configuration files :P.  On another
note I am attempting to compile my first c++ program using the
watchdog timer source code and am at a loss as to the errors i am
receiving.



#ifndef WATCHDOGCONTROL_H_
#define WATCHDOGCONTROL_H_

//Classs Include Files
#include<unistd.h>
#include<sys/types.h>
#include<sys/mman.h>
#include<fcntl.h>
#include<assert.h>

//Class Definitions
#define WATCHDOG_FEED_BYTE                                0x05
  
//Class Declaration
class WatchdogControl//<-error 1
{//<-error 2
public:
    //Public Class Variables
    
    //Public Class Functions
        WatchdogControl();
        virtual ~WatchdogControl();
    void setWatchdogTimer();
    
private://<-error 3    
    //Private Class Variables
    volatile unsigned char *wdt_control;
    volatile unsigned char *wdt_feed;
    int timerValue;
    
    //Private Class Functions
     
};//<-error 4

#endif /*WATCHDOGCONTROL_H_*/




error1: syntax error before 'myWatchdogControl' rbash   Main.c  line 5  
error2: syntax error before '{' token   rbash/WatchdogControl
WatchdogControl.h       line 16
error3: syntax error before ':' token   rbash/WatchdogControl
WatchdogControl.h       line 25
error4: syntax error before '}' token   rbash/WatchdogControl
WatchdogControl.h       line 33

We do have a C++ compiler and linker right?




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU