stdlib error

Alex
2011-08-19
2013-03-12
  • Alex

    Alex - 2011-08-19

    When I include stdlib.h I get this error:
    /usr/share/sdcc/include/malloc.h:39: syntax error: token -> '*' ; column 21
    make: ***  Error 1
    make: ***  Error 2
    make: ***  Error 2

    BUILD FAILED (exit value 2, total time: 343ms)

    I am using SDCC 3.0.0 on linux Ubuntu 11.04 with MPLAB X IDE.

    Need help here. I guess problem is from SDCC build or something.

     
  • Alex

    Alex - 2011-08-19

    Ĩ forgot to tell… Target is a PIC18 family (pic16)

     
  • Maarten Brock

    Maarten Brock - 2011-08-20

    For the PIC18 family you probably need to include /usr/share/sdcc/include/pic16/malloc.h

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks