Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
psyBNC
#1

I want to compile the psyBNC IRC-Bouncer on my maschine, but it doesn't work, the compiler gives me several errors and warnings and i don't know what to do

 

~/bnc/psybnc> make

Initializing bouncer compilation

[*] Running Conversion Tool for older psyBNC Data.

tools/convconf.c: In function `cofile':

tools/convconf.c:81: Warnung: deprecated use of label at end of compound stateme

nt

Using existent configuration File.

[*] Running Autoconfig.

System: Linux

Socket Libs: Internal.

Environment: Internal.

Time-Headers: tools/chktime.c: In function `main':

tools/chktime.c:58: Warnung: passing arg 2 of `strcpy' makes pointer from intege

r without a cast

tools/chktime.c:59: Warnung: assignment makes pointer from integer without a cas

t

tools/chktime.c:60: error: dereferencing pointer to incomplete type

in sys/time.h.

Byte order: Big Endian.

IPv6-Support: Yes.

async-DNS-Support: Yes.

SSL-Support: tools/chkssl.c:47:28: openssl/crypto.h: Datei oder Verzeichnis nich

t gefunden

tools/chkssl.c:48:26: openssl/x509.h: Datei oder Verzeichnis nicht gefunden

tools/chkssl.c:49:25: openssl/pem.h: Datei oder Verzeichnis nicht gefunden

tools/chkssl.c:50:25: openssl/ssl.h: Datei oder Verzeichnis nicht gefunden

tools/chkssl.c:51:25: openssl/err.h: Datei oder Verzeichnis nicht gefunden

tools/chkssl.c:52:26: openssl/rand.h: Datei oder Verzeichnis nicht gefunden

Yes.

Creating Makefile

[*] Compiling MakeSalt for Encryption..

Using existent Salt-File

[*] Compiling Bouncer..

make[1]: Entering directory `/home/paul/bnc/psybnc'

gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DIPV6

-DHAVE_SSL src/psybnc.c -o src/psybnc.o

In file included from src/psybnc.c:39:

src/p_global.h:49:28: openssl/crypto.h: Datei oder Verzeichnis nicht gefunden

src/p_global.h:50:26: openssl/x509.h: Datei oder Verzeichnis nicht gefunden

src/p_global.h:51:25: openssl/pem.h: Datei oder Verzeichnis nicht gefunden

src/p_global.h:52:25: openssl/ssl.h: Datei oder Verzeichnis nicht gefunden

src/p_global.h:53:25: openssl/err.h: Datei oder Verzeichnis nicht gefunden

src/p_global.h:54:26: openssl/rand.h: Datei oder Verzeichnis nicht gefunden

In file included from src/psybnc.c:39:

src/p_global.h:255: error: parse error before "SSL"

src/p_global.h:255: Warnung: no semicolon at end of struct or union

src/p_global.h:286: error: parse error before '}' token

src/p_global.h:953: Warnung: conflicting types for built-in function `log'

src/p_global.h:1066: error: parse error before '*' token

In file included from src/psybnc.c:40:

src/p_data.h:162: error: parse error before '*' token

src/p_data.h:162: Warnung: data definition has no type or storage class

src/p_data.h:163: error: parse error before '*' token

src/p_data.h:163: Warnung: data definition has no type or storage class

src/psybnc.c: In function `initSSL':

src/psybnc.c:50: Warnung: assignment makes pointer from integer without a cast

src/psybnc.c:57: error: `SSL_FILETYPE_PEM' undeclared (first use in this functio

n)

src/psybnc.c:57: error: (Each undeclared identifier is reported only once

src/psybnc.c:57: error: for each function it appears in.)

src/psybnc.c:73: Warnung: assignment makes pointer from integer without a cast

make[1]: *** [src/psybnc.o] Fehler 1

make[1]: Leaving directory `/home/paul/bnc/psybnc'

make: *** [all] Fehler 2

 

 

I am Running suSE Linux 9.0

 

So has anyone got an idea what that is????

Reply
#2

You do not just run "make" but "make menuconfig" just as the docs tell you. :P

 

z0ny

Reply
#3

yeh i get the same stuff [img]<___base_url___>/uploads/emoticons/default_mad.gif[/img]

 

make menuconfig

Initializing Menu-Configuration

[*] Running Conversion Tool for older psyBNC Data.

tools/convconf.c: In function `cofile':

tools/convconf.c:81: error: label at end of compound statement

*** Error code 1

 

Stop in /usr/home/name/psybnc.

Reply
#4
think i should add mines on new freebsd 5.3
Reply
#5

iz psybnc]# make menuconfig

Initializing Menu-Configuration

[*] Running Conversion Tool for older psyBNC Data.

tools/convconf.c: In function `cofile':

tools/convconf.c:81: error: label at end of compound statement

make: *** [menuconfig] Error 1

[root@wiz psybnc]#

 

 

same on fedora core 3 [img]<___base_url___>/uploads/emoticons/default_ohmy.png[/img]

Reply
#6

Open "tools/convconf.c", go to line 80 and append a ";" at the end of this line:

 



Code:
next:;




Reply
#7

Quote:Open "tools/convconf.c", go to line 80 and append a ";" at the end of this line: 



Code:
next:;

<div>


</div>
 

i have the same problem what is the solution?

Reply
#8

Quote:yeh i get the same stuff [img]<___base_url___>/uploads/emoticons/default_mad.gif[/img] 

make menuconfig

Initializing Menu-Configuration

[*] Running Conversion Tool for older psyBNC Data.

tools/convconf.c: In function `cofile':

tools/convconf.c:81: error: label at end of compound statement

*** Error code 1

 

Stop in /usr/home/name/psybnc.
 

yeah sorry this is my problem and what is the solution ????? plz someone help me

Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)