[En-Nut-Discussion] Compile errors

M. Can Filibeli filipa at superonline.com
Fri Dec 12 13:38:46 CET 2003


When I compile httpserv.c, I receive the following compile message.

 

What is wrong? I did not modify any code.

 

 

C:\iccavr\bin\imakew -f deneme.mak
    iccavr -c -I..\..\include -IC:\iccavr\include\ -Ic:\ethernut\nut\include
-e -D_MCU_enhanced -DATMEGA  -l -g -Mavr_enhanced
C:\ethernut\nut\app\httpd\httpserv.c
!E c:/ethernut/nut/include/pro/httpd.h(41): syntax error; found `stream'
expecting `)'
!E c:/ethernut/nut/include/pro/httpd.h(41): skipping `stream'
!E c:/ethernut/nut/include/pro/httpd.h(41): extraneous old-style parameter
list
!W c:/ethernut/nut/include/pro/httpd.h(41):[warning] declaring a function
without prototype may cause errors
!E c:/ethernut/nut/include/pro/httpd.h(43): syntax error; found `*'
expecting `)'
!E c:/ethernut/nut/include/pro/httpd.h(43): skipping `*' `stream' `,'
`REQUEST' `*' `req' `,'
!E c:/ethernut/nut/include/pro/httpd.h(43): missing identifier
!E c:/ethernut/nut/include/pro/httpd.h(43): syntax error; found `char'
expecting `;'
!E c:/ethernut/nut/include/pro/httpd.h(43): syntax error; found `)'
expecting `;'
!E c:/ethernut/nut/include/pro/httpd.h(43): skipping `)'
!E c:/ethernut/nut/include/pro/httpd.h(44): syntax error; found `*'
expecting `)'
!E c:/ethernut/nut/include/pro/httpd.h(44): skipping `*' `stream' `,'
!E c:/ethernut/nut/include/pro/httpd.h(44): extraneous old-style parameter
list
!W c:/ethernut/nut/include/pro/httpd.h(44):[warning] declaring a function
without prototype may cause errors
!E c:/ethernut/nut/include/pro/httpd.h(44): invalid storage class `extern'
for `pointer to void function NutHttpSendHeaderBot'
!E c:/ethernut/nut/include/pro/httpd.h(44): syntax error; found `char'
expecting `;'
!E c:/ethernut/nut/include/pro/httpd.h(44): missing identifier
!E c:/ethernut/nut/include/pro/httpd.h(44): syntax error; found `long'
expecting `;'
!E c:/ethernut/nut/include/pro/httpd.h(44): syntax error; found `)'
expecting `;'
!E c:/ethernut/nut/include/pro/httpd.h(44): skipping `)'
!E c:/ethernut/nut/include/pro/httpd.h(45): syntax error; found `*'
expecting `)'
!E c:/ethernut/nut/include/pro/httpd.h(45): skipping `*' `stream' `,'
`REQUEST' `*' `req' `,'
!E c:/ethernut/nut/include/pro/httpd.h(45): too many errors
C:\iccavr\bin\imakew.exe: Error code 1
Done: there are error(s). Exit code: 1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.egnite.de/pipermail/en-nut-discussion/attachments/20031212/b302cd78/attachment-0001.html>


More information about the En-Nut-Discussion mailing list