Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling while run make. #30

Open
GoogleCodeExporter opened this issue Aug 29, 2015 · 1 comment
Open

Error compiling while run make. #30

GoogleCodeExporter opened this issue Aug 29, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. I run the following: ./configure --disable-xmltest 
--with-openssl=/cygdrive/c/OpenSSL-Win32/bin --enable-bundled-sqlite

The process result is: 
configure: exit 0


2. Then I run make and then the following error appears:
$ make
make  all-recursive
make[1]: se ingresa al directorio `/home/awillers/haggle-0.3'
Making all in extlibs/sqlite-3.6.6.2
make[2]: se ingresa al directorio 
`/home/awillers/haggle-0.3/extlibs/sqlite-3.6.6.2'
make[2]: No se hace nada para `all'.
make[2]: se sale del directorio 
`/home/awillers/haggle-0.3/extlibs/sqlite-3.6.6.2'
Making all in doc
make[2]: se ingresa al directorio `/home/awillers/haggle-0.3/doc'
make[3]: se ingresa al directorio `/home/awillers/haggle-0.3/doc'
make[3]: No se hace nada para `all-am'.
make[3]: se sale del directorio `/home/awillers/haggle-0.3/doc'
make[2]: se sale del directorio `/home/awillers/haggle-0.3/doc'
Making all in src
make[2]: se ingresa al directorio `/home/awillers/haggle-0.3/src'
Making all in utils
make[3]: se ingresa al directorio `/home/awillers/haggle-0.3/src/utils'
gcc -DHAVE_CONFIG_H -I. -I../..    -I/cygdrive/c/OpenSSL-Win32/bin/include  -g 
-O2 -Wall -O2 -I/cygdrive/c/OpenSSL-Win32/bin/include -std=gnu99 -MT utils.o 
-MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.c
In file included from utils.c:16:0:
utils.h:74:2: error: #error "Unkown operating system!"
In file included from utils.c:16:0:
utils.h:82:24: aviso: se declaró ‘struct in_addr’ dentro de la lista de 
parámetros [activado por defecto]
utils.h:82:24: aviso: su ámbito es solamente esta definición o declaración, 
lo cual probablemente no es lo que desea [activado por defecto]
utils.h:119:44: aviso: se declaró ‘struct timeval’ dentro de la lista de 
parámetros [activado por defecto]
utils.h:137:39: aviso: se declaró ‘struct sockaddr’ dentro de la lista de 
parámetros [activado por defecto]
utils.c: En la función ‘absolute_time_double’:
utils.c:355:17: error: no se conoce el tamaño de almacenamiento de 
‘absTime’
utils.c:358:2: aviso: declaración implícita de la función ‘gettimeofday’ 
[-Wimplicit-function-declaration]
utils.c:355:17: aviso: variable ‘absTime’ sin usar [-Wunused-variable]
utils.c: En el nivel principal:
utils.c:470:8: error: la variable ‘trace_base’ tiene inicializador pero de 
tipo de dato incompleto
utils.c:470:8: aviso: exceso de elementos en el inicializador de struct 
[activado por defecto]
utils.c:470:8: aviso: (cerca de la inicialización de ‘trace_base’) 
[activado por defecto]
utils.c:470:8: aviso: exceso de elementos en el inicializador de struct 
[activado por defecto]
utils.c:470:8: aviso: (cerca de la inicialización de ‘trace_base’) 
[activado por defecto]
utils.c:472:6: error: tipos en conflicto para ‘set_trace_timestamp_base’
In file included from utils.c:16:0:
utils.h:119:6: nota: la declaración previa de ‘set_trace_timestamp_base’ 
estaba aquí
utils.c: En la función ‘set_trace_timestamp_base’:
utils.c:474:2: error: uso inválido del tipo indefinido ‘struct timeval’
utils.c:474:24: error: puntero deferenciado a tipo de dato incompleto
utils.c:475:2: error: uso inválido del tipo indefinido ‘struct timeval’
utils.c:475:25: error: puntero deferenciado a tipo de dato incompleto
utils.c: En la función ‘timeval_sub_base’:
utils.c:480:3: error: puntero deferenciado a tipo de dato incompleto
utils.c:480:2: error: uso inválido del tipo indefinido ‘struct timeval’
utils.c:481:3: error: puntero deferenciado a tipo de dato incompleto
utils.c:481:2: error: uso inválido del tipo indefinido ‘struct timeval’
utils.c:483:7: error: puntero deferenciado a tipo de dato incompleto
utils.c:484:4: error: puntero deferenciado a tipo de dato incompleto
utils.c:485:4: error: puntero deferenciado a tipo de dato incompleto
utils.c:487:7: error: puntero deferenciado a tipo de dato incompleto
utils.c:488:4: error: puntero deferenciado a tipo de dato incompleto
utils.c:489:4: error: puntero deferenciado a tipo de dato incompleto
utils.c: En la función ‘trace’:
utils.c:498:17: error: no se conoce el tamaño de almacenamiento de ‘now’
utils.c:498:17: aviso: variable ‘now’ sin usar [-Wunused-variable]
utils.c:497:6: aviso: se define la variable ‘len’ pero no se usa 
[-Wunused-but-set-variable]
utils.c: En la función ‘in_cksum’:
utils.c:558:3: aviso: declaración implícita de la función ‘htons’ 
[-Wimplicit-function-declaration]
utils.c: En el nivel principal:
utils.c:573:24: aviso: se declaró ‘struct in_addr’ dentro de la lista de 
parámetros [activado por defecto]
utils.c:573:32: error: el parámetro 1 (‘addr’) tiene tipo incompleto
utils.c: En la función ‘ip_to_str’:
utils.c:581:2: aviso: declaración implícita de la función ‘inet_ntoa’ 
[-Wimplicit-function-declaration]
utils.c: En la función ‘send_file’:
utils.c:862:4: aviso: declaración implícita de la función ‘send’ 
[-Wimplicit-function-declaration]
Makefile:276: recipe for target `utils.o' failed
make[3]: *** [utils.o] Error 1
make[3]: se sale del directorio `/home/awillers/haggle-0.3/src/utils'
Makefile:287: recipe for target `all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/home/awillers/haggle-0.3/src'
Makefile:372: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/awillers/haggle-0.3'
Makefile:281: recipe for target `all' failed
make: *** [all] Error 2

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
Haggle v0.4
WindowsXP
Cygwin

Please provide any additional information below.

Original issue reported on code.google.com by alejandr...@gmail.com on 24 Jul 2013 at 4:16

@GoogleCodeExporter
Copy link
Author

Under LINUX (Ubuntu 12.04) I have this error running make:

make[2]: Entering directory `/home/awillers/haggle/src/hagglekernel'
  CXX    libhagglekernel_a-ConnectivityLocalLinux.o
ConnectivityLocalLinux.cpp: In member function ‘virtual bool 
ConnectivityLocalLinux::run()’:
ConnectivityLocalLinux.cpp:1659:2: error: ‘cl’ was not declared in this 
scope
make[2]: *** [libhagglekernel_a-ConnectivityLocalLinux.o] Error 1



Original comment by alejandr...@gmail.com on 5 Aug 2013 at 4:47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant