G5:~/Desktop/mircryption/xchat al$ make macosx
make _mircryption CFLAGS="-c -x c++ -DMACOSX" LDFLAGS=" -Wl -dynamiclib" CFLAGS2="-DBIG_ENDIAN"
To Build mircryption, type 'make TARGET' (generic | linux | freebsd | macosx | windows | altlink | altlink2)
or type: 'make clean' to clean .o and .so
or type: 'make install' to try to install the mircryption.so dll into ~/.xchat2
try altlink1 or altlink2 if your linker complains about not being able to find the .o files
altlink1 may be good for freebsd
To Build mircryption, type 'make TARGET' (generic | linux | freebsd | macosx | windows | altlink | altlink2)
or type: 'make clean' to clean .o and .so
or type: 'make install' to try to install the mircryption.so dll into ~/.xchat2
try altlink1 or altlink2 if your linker complains about not being able to find the .o files
altlink1 may be good for freebsd
To Build mircryption, type 'make TARGET' (generic | linux | freebsd | macosx | windows | altlink | altlink2)
or type: 'make clean' to clean .o and .so
or type: 'make install' to try to install the mircryption.so dll into ~/.xchat2
try altlink1 or altlink2 if your linker complains about not being able to find the .o files
altlink1 may be good for freebsd
To Build mircryption, type 'make TARGET' (generic | linux | freebsd | macosx | windows | altlink | altlink2)
or type: 'make clean' to clean .o and .so
or type: 'make install' to try to install the mircryption.so dll into ~/.xchat2
try altlink1 or altlink2 if your linker complains about not being able to find the .o files
altlink1 may be good for freebsd
Compiling mircryption
gcc -c -x c++ -DMACOSX -DBIG_ENDIAN -I../ -I./ mircryption.cpp -o mircryption.o
In file included from mircryption.cpp:52:
mircryption.h:12:33: ../mircryptionclass.h: No such file or directory
In file included from mircryption.cpp:52:
mircryption.h:20: error: parse error before `{' token
mircryption.h:23: error: destructors must be member functions
mircryption.h:23: error: virtual outside class declaration
mircryption.h:24: error: parse error before `protected'
mircryption.h:27: error: virtual outside class declaration
mircryption.h:28: error: virtual outside class declaration
mircryption.h:29: error: virtual outside class declaration
mircryption.h:30: error: virtual outside class declaration
mircryption.h:31: error: parse error before `}' token
mircryption.cpp:89: error: syntax error before `*' token
mircryption.cpp: In function `int xchat_plugin_init(xchat_plugin*, char**,
char**, char**, char*)':
mircryption.cpp:176: error: `mircryptor' undeclared (first use this function)
mircryption.cpp:176: error: (Each undeclared identifier is reported only once
for each function it appears in.)
mircryption.cpp:176: error: parse error before `;' token
mircryption.cpp: In function `int setdefault_keyfilelocation()':
mircryption.cpp:211: error: `MAXRETURNSTRINGLEN' undeclared (first use this
function)
mircryption.cpp:215: error: `strcpy' undeclared (first use this function)
mircryption.cpp:222: error: `strlen' undeclared (first use this function)
mircryption.cpp:223: error: `strcat' undeclared (first use this function)
mircryption.cpp:228: error: `returndata' undeclared (first use this function)
mircryption.cpp: In function `int mc_event_privdialog(char**, void*)':
mircryption.cpp:242: error: `MAXCHANNELNAMESIZE' undeclared (first use this
function)
mircryption.cpp:243: error: `channelname' undeclared (first use this function)
mircryption.cpp:247: error: `MAXNICKLEN' undeclared (first use this function)
mircryption.cpp:248: error: `nick' undeclared (first use this function)
mircryption.cpp:249: error: `MAXLINELEN' undeclared (first use this function)
mircryption.cpp:250: error: `text' undeclared (first use this function)
mircryption.cpp:256: error: `strcmp' undeclared (first use this function)
mircryption.cpp: In function `int mc_event_notice(char**, void*)':
mircryption.cpp:407: error: `mynick' undeclared (first use this function)
mircryption.cpp: In function `int mc_event_yourmessage(char**, void*)':
mircryption.cpp:533: error: `strncmp' undeclared (first use this function)
mircryption.cpp: In function `int mc_event_noticesend(char**, void*)':
mircryption.cpp:549: error: `dest' undeclared (first use this function)
mircryption.cpp: In function `int mc_setkey(char**, char**, void*)':
mircryption.cpp:620: error: `MAXKEYSIZE' undeclared (first use this function)
mircryption.cpp:621: error: `keyphrase' undeclared (first use this function)
mircryption.cpp: In function `int mc_setkeyfile(char**, char**, void*)':
mircryption.cpp:767: error: `keyfile' undeclared (first use this function)
mircryption.cpp: At global scope:
mircryption.cpp:1026: error: invalid use of undefined type `class
MircryptionClass_xchat'
mircryption.h:19: error: forward declaration of `class MircryptionClass_xchat'
mircryption.cpp:1033: error: invalid use of undefined type `class
MircryptionClass_xchat'
mircryption.h:19: error: forward declaration of `class MircryptionClass_xchat'
mircryption.cpp:1044: error: invalid use of undefined type `class
MircryptionClass_xchat'
mircryption.h:19: error: forward declaration of `class MircryptionClass_xchat'
mircryption.cpp:1052: error: invalid use of undefined type `class
MircryptionClass_xchat'
mircryption.h:19: error: forward declaration of `class MircryptionClass_xchat'
mircryption.cpp:1062: error: invalid use of undefined type `class
MircryptionClass_xchat'
mircryption.h:19: error: forward declaration of `class MircryptionClass_xchat'
make[1]: *** [mircryption.o] Error 1
make: *** [macosx] Error 2
G5:~/Desktop/mircryption/xchat al$