Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #107881

Re: Need help fixing a "previously defined" error

Newsgroups comp.lang.c
Subject Re: Need help fixing a "previously defined" error
From Peabody <waybackNO584SPAM44@yahoo.com>
Date 2017-04-08 13:19 -0500
Message-ID <20170408-181952.856.0@Peabody.ssl.astraweb.com> (permalink)
References <20170408-130720.9.0@Peabody.ssl.astraweb.com> <5t8GA.656613$nT1.398955@fx44.am4>
Organization Unlimited download news at news.astraweb.com

Show all headers | View raw


bartc says...

 > (I downloaded the files for BSLDEMO from github, and
 > making that change made it compile under lccwin, which
 > is the only compiler where it was a problem. Other C
 > compilers (excluding one or two such as clang which I
 > wasn't able to run for technical reasons) didn't care
 > about it.

 > But I don't know how to build or run the project.)

I appreciate your doing that.  I think the version on github
was done by FlyingCampDesign for the hardware interface they
sell to do this flashing. And they did exactly what I need
to do, except that they reversed the polarity of both DTR
and RTS, and exchanged their functions.  So the same idea,
but no cigar.

It's comforting that it compiled under the other compilers.
As far as the build is concerned, in LCC all I know to do is
click on Make at the top of the Compile tab, and somehow it
miraculously crates a Make and runs it.  I would be in deep
doodoo if it didn't do that.

What I'm having trouble dealing with is that unlike the
low-level assembly code I deal with with these
microprocessors, in C, and particularly with different
compilers, there's no way to just compare two versions and
see where they differ.  I strongly suspect, for example,
that the changes I want to make could be accomplished by
changing exactly two bytes, or maybe words, in the
original exe.  But I have no way to find them.  I can easily
find the differences between the TI source code and the FCD
source code.  But I can't compare the exe's and do that -
they're not even anywhere near the same size files - maybe
one has the debug stuff, and the other not, or optimization.

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Need help fixing a "previously defined" error Peabody <waybackNO584SPAM44@yahoo.com> - 2017-04-08 08:07 -0500
  Re: Need help fixing a "previously defined" error James Kuyper <jameskuyper@verizon.net> - 2017-04-08 10:47 -0400
    Re: Need help fixing a "previously defined" error Peabody <waybackNO584SPAM44@yahoo.com> - 2017-04-08 12:51 -0500
      Re: Need help fixing a "previously defined" error Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-04-08 20:03 +0100
      Re: Need help fixing a "previously defined" error Spiros Bousbouras <spibou@gmail.com> - 2017-04-08 19:06 +0000
      Re: Need help fixing a "previously defined" error James Kuyper <jameskuyper@verizon.net> - 2017-04-08 15:17 -0400
  Re: Need help fixing a "previously defined" error Spiros Bousbouras <spibou@gmail.com> - 2017-04-08 15:29 +0000
  Re: Need help fixing a "previously defined" error Barry Schwarz <schwarzb@dqel.com> - 2017-04-08 09:21 -0700
    Re: Need help fixing a "previously defined" error Peabody <waybackNO584SPAM44@yahoo.com> - 2017-04-08 13:04 -0500
      Re: Need help fixing a "previously defined" error James Kuyper <jameskuyper@verizon.net> - 2017-04-08 15:33 -0400
        Re: Need help fixing a "previously defined" error Spiros Bousbouras <spibou@gmail.com> - 2017-04-08 19:51 +0000
        Re: Need help fixing a "previously defined" error Peabody <waybackNO584SPAM44@yahoo.com> - 2017-04-08 16:24 -0500
    Re: Need help fixing a "previously defined" error Keith Thompson <kst-u@mib.org> - 2017-04-08 18:45 -0700
  Re: Need help fixing a "previously defined" error bartc <bc@freeuk.com> - 2017-04-08 17:46 +0100
    Re: Need help fixing a "previously defined" error Peabody <waybackNO584SPAM44@yahoo.com> - 2017-04-08 13:19 -0500
  Re: Need help fixing a "previously defined" error David Brown <david.brown@hesbynett.no> - 2017-04-09 12:38 +0200
    Re: Need help fixing a "previously defined" error Peabody <waybackNO584SPAM44@yahoo.com> - 2017-04-09 07:52 -0500
      Re: Need help fixing a "previously defined" error David Brown <david.brown@hesbynett.no> - 2017-04-09 17:02 +0200
        Re: Need help fixing a "previously defined" error Peabody <waybackNO584SPAM44@yahoo.com> - 2017-04-09 18:20 -0500
          Re: Need help fixing a "previously defined" error James Kuyper <jameskuyper@verizon.net> - 2017-04-09 22:06 -0400
          Re: Need help fixing a "previously defined" error David Brown <david.brown@hesbynett.no> - 2017-04-10 09:07 +0200
            Re: Need help fixing a "previously defined" error Peabody <waybackNO584SPAM44@yahoo.com> - 2017-04-10 09:11 -0500
              Re: Need help fixing a "previously defined" error David Brown <david.brown@hesbynett.no> - 2017-04-10 17:31 +0200
                Re: Need help fixing a "previously defined" error Peabody <waybackNO584SPAM44@yahoo.com> - 2017-04-10 12:48 -0500

csiph-web