View Issue Details

IDProjectCategoryView StatusLast Update
0002681GNUnetobsoletepublic2024-05-03 13:49
ReporterSree Harsha Totakura Assigned ToMatthias Wachs  
PriorityimmediateSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.5Fixed in Version0.9.5 
Summary0002681: ats fails to compile
DescriptionI get this error while building:
make[3]: Entering directory `/home/harsha/repos/gnunet/src/ats'
  CC ats_api_scheduling.lo
  CC ats_api_performance.lo
  CCLD libgnunetats.la
  CC gnunet-service-ats.o
  CC gnunet-service-ats_addresses.o
gnunet-service-ats_addresses.c: In function ‘GAS_addresses_update’:
gnunet-service-ats_addresses.c:571: warning: implicit declaration of function ‘GAS_mlp_address_update’
gnunet-service-ats_addresses.c: In function ‘GAS_addresses_change_preference’:
gnunet-service-ats_addresses.c:975: warning: implicit declaration of function ‘GAS_mlp_address_change_preference’
gnunet-service-ats_addresses.c: In function ‘GAS_addresses_init’:
gnunet-service-ats_addresses.c:1071: warning: implicit declaration of function ‘GAS_mlp_init’
gnunet-service-ats_addresses.c:1071: error: ‘MLP_MAX_EXEC_DURATION’ undeclared (first use in this function)
gnunet-service-ats_addresses.c:1071: error: (Each undeclared identifier is reported only once
gnunet-service-ats_addresses.c:1071: error: for each function it appears in.)
gnunet-service-ats_addresses.c:1071: error: ‘MLP_MAX_ITERATIONS’ undeclared (first use in this function)
gnunet-service-ats_addresses.c: In function ‘GAS_addresses_done’:
gnunet-service-ats_addresses.c:1150: warning: implicit declaration of function ‘GAS_mlp_done’
make[3]: *** [gnunet-service-ats_addresses.o] Error 1
make[3]: Leaving directory `/home/harsha/repos/gnunet/src/ats'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/harsha/repos/gnunet/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/harsha/repos/gnunet'
make: *** [all] Error 2
Steps To ReproduceOn my system I do not have GLPK installed.
This seems to the cause of the above failure as the header file "gnunet-service-ats_addresses_mlp.h" is not included into gnunet-service-ats_addresses.c. But at line gnunet-service-ats_addresses.c:1071 'MLP_MAX_EXEC_DURATION' is used which is defined in the header "gnunet-service-ats_addresses_mlp.h".
TagsNo tags attached.

Activities

Matthias Wachs

2012-12-04 15:16

reporter   ~0006637

fixed with svn head

Issue History

Date Modified Username Field Change
2012-12-04 10:25 Sree Harsha Totakura New Issue
2012-12-04 10:25 Sree Harsha Totakura Status new => assigned
2012-12-04 10:25 Sree Harsha Totakura Assigned To => Matthias Wachs
2012-12-04 15:16 Matthias Wachs Note Added: 0006637
2012-12-04 15:16 Matthias Wachs Status assigned => resolved
2012-12-04 15:16 Matthias Wachs Resolution open => fixed
2012-12-04 15:43 Christian Grothoff Fixed in Version => 0.9.5
2012-12-04 15:43 Christian Grothoff Target Version => 0.9.5
2012-12-21 16:49 Christian Grothoff Status resolved => closed
2024-05-03 13:49 Christian Grothoff Category ATS service => obsolete