:: Re: [DNG] [DN Offlist G] netman GIT…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: aitor_czr
Fecha:  
A: KatolaZ
Cc: dng
Temas nuevos: [DNG] where to find include files.
Asunto: Re: [DNG] [DN Offlist G] netman GIT project
Hi Katolaz,

I tried it but it doesn't work:

aitor@gnuinos:~/netman/backend_src/src$ gcc -g -I../include 
core_functions.c file_functions.c backend.c essid_encoder.c -o backend
core_functions.c:29:36: fatal error: include/core_functions.h: No existe 
el fichero o el directorio
  #include "include/core_functions.h"
                                     ^
compilation terminated.
file_functions.c:26:27: fatal error: include/paths.h: No existe el 
fichero o el directorio
  #include "include/paths.h"
                            ^
compilation terminated.
backend.c:28:36: fatal error: include/core_functions.h: No existe el 
fichero o el directorio
  #include "include/core_functions.h"
                                     ^
compilation terminated.
essid_encoder.c:50:35: fatal error: include/essid_encoder.h: No existe 
el fichero o el directorio
  #include "include/essid_encoder.h"
                                    ^
compilation terminated.


Aitor.

On 14/09/15 10:39, KatolaZ wrote:
> I think you guys must rather specify an appropriate "-I" flag to gcc
> in the Makefile. I have never ever seen "../something" in an
> #include....
>
> My2Cents
>
> KatolaZ