Re: [9fans] Compiling links



Hola,


Hola2u,


-D_RESEARCH_SOURCE -D_POSIX_SOURCE plan9.c
/sys/include/ape/u.h:4[stdin:15] not a function
/sys/include/ape/u.h:4[stdin:15] syntax error, last name: header

Pointers on how to fix this are welcome :)

Plumb it. You will see an #ifndef which is true, producing a syntax error. The compiler is right.
Supply a -D_WHAT_EVER in the makefile will fix this.

.



Relevant Pages

  • Re: Heres a good one...
    ... Fix it, recompile and follow ... Always look at the earliest diagnostic reported by the compiler. ... Anything following a syntax error can probably be ignored; ... Error messages up to and including the first reported syntax error are ...
    (comp.lang.c)
  • Re: Multiple Projects
    ... I only added the header file as an atttempt ot fix the problem. ... was only a reference entry originally which was producing the compiler ...
    (microsoft.public.dotnet.languages.vc)
  • Re: C MEX-file with header files
    ... the compiler found the files with -I. ... syntax error; found `typedef' expecting `;' ... Is there anyway to fix this? ...
    (comp.soft-sys.matlab)
  • Re: STM32 ARM toolset advice?
    ... Compulsory car comparison: would you buy a car where the motor block is ... you yourself using a self-help book) can fix? ... compilers work better than a compiler vendor. ...
    (comp.arch.embedded)
  • Re: How many bytes per Italian character?
    ... There's a reason I don't use free open-source products: ... someone once said "Well, you should use gcc because that way, if you find a bug ... I used to work for a compiler company. ... *know* how hard it is to fix bugs in optimizing compilers. ...
    (microsoft.public.vc.mfc)