git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Compiling git-snapshot-20069831

From
JKJorma Karvonen <karvjorm@users.sourceforge.net>
Date
Aug 31, 2006, 12:03 UTC
Message-ID
<44F6D016.4050007@users.sourceforge.net>
Hello,
I enclose here the file that includes error messages.
Best regards,

Jorma Karvonen karvjorm@users.sourceforge.net

Hello,
I tried to compile (with gcc 4.0.3) git-snapshot-20060831 and got the following error messges:
make --prefix=/usr/local

mailinfo.o: In funtion 'convert_to_utf8': git-snapshot-20060831/mailinfo.c:482: undefined reference to 'libiconv_open' git-snapshot-20060831/mailinfo.c:503: undefined reference to 'libiconv' git-snapshot-20060831/mailinfo.c:504: undefined reference to 'libiconv_close' collect2: ld returned 1 exit status

then I tried make --prefix=/usr/local NEEDS_LIBICONV=1 and got the following error messsages:

In file included from http.c:1: http.h:6:23: error: curl/curl.h: Tiedostoa tai hakemistoa ei ole http.h:7:23: error: curl/easy.h: Tiedostoa tai hakemistoa ei ole In file included from http.c:1: http.h:27: error: syntax error before 'CURLcode' http.h:27: warning: no semicolon at end of struct or union http.h:29: error: syntax error before '}' token http.h:33: error: syntax error before 'CURL' http.h:33: warning: no semicolon at end of struct or union http.h:36: error: syntax error before 'curl_result' http.h:36: warning: type defaults to 'int' in declaration of 'curl_result' http.h:36: warning: data definition has no type or storage class http.h:43: error: syntax error before '}' token http.h:85: error: 'CURL_ERROR_SIZE' undeclared here (not in a function) http.c:163: error: syntax error before '*' token http.c:164: warning: return type defaults to 'int' http.c: In function 'get_curl_handle': http.c:165: error: 'CURL' undeclared (first use in this function) http.c:165: error: (Each undeclared identifier is reported only once http.c:165: error: for each function it appears in.) http.c:165: error: 'result' undeclared (first use in this function) http.c:165: warning: implicit declaration of function 'curl_easy_init' http.c:167: warning: implicit declaration of function 'curl_easy_setopt' http.c:167: error: 'CURLOPT_SSL_VERIFYPEER' undeclared (first use in this function) http.c:173: error: 'CURLOPT_SSLCERT' undeclared (first use in this function) http.c:183: error: 'CURLOPT_CAINFO' undeclared (first use in this function) http.c:184: error: 'CURLOPT_FAILONERROR' undeclared (first use in this function) http.c:187: error: 'CURLOPT_LOW_SPEED_LIMIT' undeclared (first use in this function) http.c:189: error: 'CURLOPT_LOW_SPEED_TIME' undeclared (first use in this function) http.c:193: error: 'CURLOPT_FOLLOWLOCATION' undeclared (first use in this function) http.c:196: error: 'CURLOPT_VERBOSE' undeclared (first use in this function) http.c:198: error: 'CURLOPT_USERAGENT' undeclared (first use in this function) http.c: In function 'http_init': http.c:210: warning: implicit declaration of function 'curl_slist_append' http.c:210: warning: assignment makes pointer from integer without a cast http.c:211: warning: assignment makes pointer from integer without a cast http.c: In function 'http_cleanup': http.c:278: error: dereferencing pointer to incomplete type http.c:279: warning: implicit declaration of function 'curl_easy_cleanup' http.c:279: error: dereferencing pointer to incomplete type http.c:280: error: dereferencing pointer to incomplete type http.c: In function 'get_active_slot': http.c:311: error: dereferencing pointer to incomplete type http.c:312: error: dereferencing pointer to incomplete type http.c:315: error: dereferencing pointer to incomplete type http.c:316: error: dereferencing pointer to incomplete type http.c:317: error: dereferencing pointer to incomplete type http.c:318: error: dereferencing pointer to incomplete type http.c:324: error: dereferencing pointer to incomplete type http.c:325: error: dereferencing pointer to incomplete type http.c:327: error: dereferencing pointer to incomplete type http.c:332: error: dereferencing pointer to incomplete type http.c:334: error: dereferencing pointer to incomplete type http.c:341: error: dereferencing pointer to incomplete type http.c:342: error: dereferencing pointer to incomplete type http.c:343: error: dereferencing pointer to incomplete type http.c:344: error: dereferencing pointer to incomplete type http.c:345: error: dereferencing pointer to incomplete type http.c:346: error: dereferencing pointer to incomplete type http.c:347: error: dereferencing pointer to incomplete type http.c:347: error: 'CURLOPT_HTTPHEADER' undeclared (first use in this function) http.c:348: error: dereferencing pointer to incomplete type http.c:349: error: dereferencing pointer to incomplete type http.c:349: error: 'CURLOPT_ERRORBUFFER' undeclared (first use in this function) http.c: In function 'run_active_slot': http.c:421: error: dereferencing pointer to incomplete type http.c:422: error: dereferencing pointer to incomplete type http.c:422: warning: implicit declaration of function 'curl_easy_perform' http.c:422: error: dereferencing pointer to incomplete type http.c: In function 'closedown_active_slot': http.c:431: error: dereferencing pointer to incomplete type http.c: In function 'release_active_slot': http.c:437: error: dereferencing pointer to incomplete type http.c:438: warning: implicit declaration of function 'curl_multi_remove_handle' http.c:438: error: 'curlm' undeclared (first use in this function) http.c:438: error: dereferencing pointer to incomplete type http.c:439: error: dereferencing pointer to incomplete type http.c:440: error: dereferencing pointer to incomplete type http.c:442: warning: implicit declaration of function 'fill_active_slots' http.c: In function 'finish_active_slot': http.c:448: warning: implicit declaration of function 'curl_easy_getinfo' http.c:448: error: dereferencing pointer to incomplete type http.c:448: error: 'CURLINFO_HTTP_CODE' undeclared (first use in this function) http.c:448: error: dereferencing pointer to incomplete type http.c:450: error: dereferencing pointer to incomplete type http.c:451: error: dereferencing pointer to incomplete type http.c:454: error: dereferencing pointer to incomplete type http.c:455: error: dereferencing pointer to incomplete type http.c:455: error: dereferencing pointer to incomplete type http.c:456: error: dereferencing pointer to incomplete type http.c:456: error: dereferencing pointer to incomplete type http.c:460: error: dereferencing pointer to incomplete type http.c:461: error: dereferencing pointer to incomplete type http.c:461: error: dereferencing pointer to incomplete type http.c: In function 'finish_all_active_slots': http.c:470: error: dereferencing pointer to incomplete type http.c:474: error: dereferencing pointer to incomplete type make: *** [http.o] Error 1

Best regards,
Jorma Karvonen
Next: Johannes Schindelin
Message 1 of 14 in “Compiling git-snapshot-20069831”
  1. Jorma KarvonenAug 31, 2006
  2. Johannes SchindelinAug 31, 2006
  3. Jakub NarebskiAug 31, 2006
  4. Jorma KarvonenAug 31, 2006
  5. Jakub NarebskiAug 31, 2006
  6. Andreas EricssonAug 31, 2006
  7. Johannes SchindelinAug 31, 2006
  8. Jorma KarvonenAug 31, 2006
  9. Johannes SchindelinAug 31, 2006
  10. Jorma KarvonenAug 31, 2006
  11. Jakub NarebskiAug 31, 2006
  12. Jorma KarvonenSep 1, 2006
  13. Linus TorvaldsAug 31, 2006
  14. Johannes SchindelinAug 31, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.