nagyistoce / stringencoders

Automatically exported from code.google.com/p/stringencoders
Other
0 stars 0 forks source link

compilation errors on intel mac regarding modp_b64.c #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. #include "stdint.h" or #include "modp_stdint.h" should be in modp_b64.c
2. CHARPAD is not defined, assuming #define CHARPAD '=' should be inserted 
above #ifndef DOPAD
3. 'e0' undeclared error and  also modp_b64.c:219: - modp_b64.c:222:

What is the expected output? What do you see instead?
Cant solve #3

What version of the product are you using? On what operating system?
Mac OS X 10.5.6 Intel GCC 4.0/4.2

Please provide any additional information below.
For example: *p++ = e0[t1]; //if never seen this syntax, help me out?

Original issue reported on code.google.com by derrick....@gmail.com on 21 Apr 2012 at 3:26

GoogleCodeExporter commented 9 years ago
hi derrick,

I'll take a look tonight, but you problems sound familiar to some others

If you download the raw source, try doing "./bootstrap.sh" , and then 
"./configure"

Or if tar ball package do './configure"

If you did all this already, my apologizes.  I'll take a lot more soon.

thanks for the report.

nickg

Original comment by nickg@client9.com on 21 Apr 2012 at 5:47

GoogleCodeExporter commented 9 years ago
downloaded the tarball, ran ./configure && make, compiled without errors and 
raw source worked as well

modp_b64_data.h & modp_b64w_data.h contained the missing define & include & 
others

thanks for your help, the issue can be closed, I should have read the 
documentation first...

Original comment by derrick....@gmail.com on 22 Apr 2012 at 12:33

GoogleCodeExporter commented 9 years ago
fixed!

Original comment by nickgsup...@gmail.com on 13 Aug 2012 at 10:48