freecwmp
[Top] [All Lists]

freeacs build error

To: freecwmp@linux-mips.org
Subject: freeacs build error
From: Khaled Ben Amor <khaled.benamor@gmail.com>
Date: Thu, 16 May 2013 16:13:19 +0100
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=8Adrvwc5EaqIywk1hP71RNeknxAYmtGQSy7Qoc17D2E=; b=r0j2wj6sczMvN6xtcm+Q1g2br924VYPe9iiY/fwB3X22XnEf8n7IO3BGMpmfPvvhqr +828MD/LOQpj+XJfrZ17uyrafmi6bckP7Bof8tyKgmxe7ZrtHM6+rbGsQubbcQpXVduv tC98ZNUcOoOF4zWaAi6RBM05c2sumpEKHHHG04y1Fts+dvve2Vuw0WqKmstdKlgFJM1Z wyDFbMO4OysIc8ZhozHTcccurOQA9oOux1qpW5i7pPknNPaMqlTV24prHVq0zhQoJVwx dPqgcOgLeVUDtLUJv4azMpEkTcvzandR0puxX8J2nzB4rkYIphutXB387J/PoLGiobTF NGDg==
Original-recipient: rfc822;freecwmp@linux-mips.org
Sender: freecwmp-bounce@linux-mips.org
Hello,

I get freeacs and all its dependency code by  git.
I manually copied .so and .h files into /usr/include and /usr/lib for the following libraries :
  • cscgi
  • cnetstring

because no make install is defined.

When I tried to make freeacs code I obtain following error :

Making all in bin
make[1]: Entering directory `/media/LinuxDisk/projects/pan_router/src/tr69_work/freeacs-ng/bin'
gcc -std=gnu99 -DPACKAGE_NAME=\"freeacs-ng\" -DPACKAGE_TARNAME=\"freeacs-ng\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"freeacs-ng\ 0.1\" -DPACKAGE_BUGREPORT=\"freeacs-ng@lukaperkov.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"freeacs-ng\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I.          -I/usr/include/libxml2   -I/usr/include/json-c    -g -O2 -MT freeacs_ng-freeacs-ng.o -MD -MP -MF .deps/freeacs_ng-freeacs-ng.Tpo -c -o freeacs_ng-freeacs-ng.o `test -f '../src/freeacs-ng.c' || echo './'`../src/freeacs-ng.c
../src/freeacs-ng.c: In function ‘read_cb’:
../src/freeacs-ng.c:584: warning: passing argument 1 of ‘scgi_consume’ from incompatible pointer type
/usr/include/scgi.h:275: note: expected ‘const struct scgi_limits *’ but argument is of type ‘struct scgi_parser *’
../src/freeacs-ng.c:584: warning: passing argument 2 of ‘scgi_consume’ from incompatible pointer type
/usr/include/scgi.h:275: note: expected ‘struct scgi_parser *’ but argument is of type ‘char *’
../src/freeacs-ng.c:584: warning: passing argument 3 of ‘scgi_consume’ makes pointer from integer without a cast
/usr/include/scgi.h:275: note: expected ‘const char *’ but argument is of type ‘size_t’
../src/freeacs-ng.c:584: error: too few arguments to function ‘scgi_consume’
make[1]: *** [freeacs_ng-freeacs-ng.o] Error 1
make[1]: Leaving directory `/media/LinuxDisk/projects/pan_router/src/tr69_work/freeacs-ng/bin'
make: *** [all-recursive] Error 1


Is there any solution?

Thank you in advance.

--
amicalement
khaled
<Prev in Thread] Current Thread [Next in Thread>