Loading ...
Sorry, an error occurred while loading the content.
 

Help compiling examples, missing sio.h

Expand Messages
  • djsimpson100
    Hello, I have installed and compiled the 20020317 snapshot on linux, and am now trying to compile the examples for an HC12. When I try calc.c I get the
    Message 1 of 2 , Jun 3, 2002
      Hello,

      I have installed and compiled the 20020317 snapshot on linux, and am
      now trying to compile the examples for an HC12. When I try calc.c I
      get the
      following:

      [root@marge /usr/src/m68hc1x-20020317/files]# make calc
      /usr/local/bin/m6812-elf-gcc calc.c -o calc
      In file included from calc.c:41:
      calc.h:125:25: m68hc11/sio.h: No such file or directory
      calc.c: In function `sprintf':
      calc.c:205: `value_t' is promoted to `int' when passed through `...'
      calc.c:205: (so you should pass `int' not `value_t' to `va_arg')
      calc.c:210: `value_t' is promoted to `int' when passed through `...'
      make: *** [calc] Error 1


      I also get the error about the missing sio.h file for simple.c

      There is no file sio.h anywhere on the computer.

      I have tried to download the 20010416 snapshot of the examples, but
      the link for these does not appear to work

      Any help appreciated.

      Thanks

      David
    • Nicolas Schodet
      * djsimpson100 [020604 03:54]: Hello, ... There should be a sio.h file in include/sys -- Un problème ? Pressez le bouton d arret
      Message 2 of 2 , Jun 4, 2002
        * djsimpson100 <djsimpson80@...> [020604 03:54]:

        Hello,

        > [...]
        > There is no file sio.h anywhere on the computer.
        > [...]

        There should be a sio.h file in include/sys


        --
        Un problème ? Pressez le bouton d'arret d'urgence.
        Nicolas Schodet nico@... http://www.nicotine.fr.st
      Your message has been successfully submitted and would be delivered to recipients shortly.