bitemyapp / bitemyapp/twitcurl

Raspberry Pi

Open
#49 1 comment 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
C
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
What steps will reproduce the problem?
1. Using the makefile to build the library
2.
3.

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

Using the makefile results in the below:

g++ -Wall -fPIC -c -I/usr/include twitcurl.cpp oauthlib.cpp urlencode.cpp
base64.cpp HMAC_SHA1.cpp SHA1.cpp
In file included from curl/curl.h:35:0,
from twitcurl.h:9,
from twitcurl.cpp:3:
curl/curlrules.h:79:4: error: #error "CURL_SIZEOF_LONG definition is missing!"
curl/curlrules.h:94:4: error: #error "CURL_TYPEOF_CURL_OFF_T definition is
missing!"
curl/curlrules.h:99:4: error: #error "CURL_FORMAT_CURL_OFF_T definition is
missing!"
curl/curlrules.h:104:4: error: #error "CURL_FORMAT_CURL_OFF_TU definition is
missing!"
curl/curlrules.h:109:4: error: #error "CURL_FORMAT_OFF_T definition is missing!"
curl/curlrules.h:114:4: error: #error "CURL_SIZEOF_CURL_OFF_T definition is
missing!"
curl/curlrules.h:119:4: error: #error "CURL_SUFFIX_CURL_OFF_T definition is
missing!"
curl/curlrules.h:124:4: error: #error "CURL_SUFFIX_CURL_OFF_TU definition is
missing!"
curl/curlrules.h:80:4: error: ‘Error’ does not name a type
curl/curlrules.h:153:6: error: ‘curl_off_t’ was not declared in this scope
curl/curlrules.h:153:6: error: ‘CURL_SIZEOF_CURL_OFF_T’ was not declared in
this scope
curl/curlrules.h:163:6: error: ‘curl_off_t’ was not declared in this scope
In file included from twitcurl.h:9:0,
from twitcurl.cpp:3:
curl/curl.h:237:3: error: ‘curl_off_t’ does not name a type
curl/curl.h:298:35: error: ‘curl_off_t’ has not been declared
make: *** [target] Error 1

What version of the product are you using? On what operating system?

Using Raspian on the Raspberry Pi.

Please provide any additional information below.

```

Original issue reported on code.google.com by `hepplewh...@gmail.com` on 12 Jun 2013 at 12:21

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Makefile and the failing g++ command, then inspect curl/curlrules.h and curl/curl.h where the missing definitions are reported. Reproduce the build on Raspian and compare the bundled curl headers with the system setup; done means the library builds successfully without these errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, raspberry-pi
Domain
build-system, embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.