d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Can Any 1 Explain This Error On Opensuse C++
Prev12
Add Reply New Topic New Poll
Member
Posts: 16,144
Joined: Mar 27 2008
Gold: 14,618.00
Jun 30 2013 09:29am
solution i get the "lo" files compiled is this one:

1)
replace this:
Code
typedef enum { FALSE /*= 0*/, TRUE /*= 1*/ } bool;

by this:
Code
#define TRUE 1
#define FALSE 0


2)
use this line:
Code
#include <stdbool.h>

in every "h" file that uses the word "bool"
(or in other words, in the h-files that produce an error)
Member
Posts: 16,144
Joined: Mar 27 2008
Gold: 14,618.00
Jun 30 2013 09:47am
i had to install "automake", so i could run autoreconf (to rebuild the configure script), but i guess you already have that.

now we have this problem:
Code
checking for MD5_Init in -lssl... no


because in autoconfig.ac there is a line that says it should looks for that library, but we don't have that library (or not the right version, we don't know yet)

when i try to "make" i have the problem that the linker fails: "undefined reference"

so maybe you should try finding the right libssl packet (the "...dev"-packet you already have, there are usually the "h" files inside. but now we have a linker problem)
Member
Posts: 30,168
Joined: Jun 10 2010
Gold: 1,157.00
Jun 30 2013 11:01am
Quote (Richter @ Jun 30 2013 11:29am)
solution i get the "lo" files compiled is this one:

1)
replace this:
Code
typedef enum { FALSE /*= 0*/, TRUE /*= 1*/ } bool;

by this:
Code
#define TRUE 1
#define FALSE 0


2)
use this line:
Code
#include <stdbool.h>

in every "h" file that uses the word "bool"
(or in other words, in the h-files that produce an error)


that didnt work..
Member
Posts: 30,168
Joined: Jun 10 2010
Gold: 1,157.00
Jun 30 2013 11:42am
i cant edit anything, but would like to add im using openssl
Member
Posts: 16,144
Joined: Mar 27 2008
Gold: 14,618.00
Jun 30 2013 07:12pm
can be closed, we figured it out
Go Back To Programming & Development Topic List
Prev12
Add Reply New Topic New Poll