> and maybe you are not used to hack a C program... Well, not quite true, but it's always hard to read/debug/hack code which one didn't write him-/herself, especially not if the number of lines of code is almost 250'000! Anyway, you definitively have much more experience than I have. But I think if we manage to compile/link/run it succesfully on AIX we both have a win-win situation. Here comes the next error: gcc -L../lib -o ./embed embed.o version.o ../srcsign.o ../lib/library.a ../lib/libmimekit.a ../lib/libmd5.a -lnsl -ldl -lpthread -lpam -lstdc++ -lc ../lib/libsubst.a ld: 0711-224 WARNING: Duplicate symbol: .strdup ld: 0711-224 WARNING: Duplicate symbol: .Usleep(int) ld: 0711-224 WARNING: Duplicate symbol: .Uname(char const*, int, char const*, int, char const*) ld: 0711-224 WARNING: Duplicate symbol: .INHERENT_fchmod() ld: 0711-224 WARNING: Duplicate symbol: .yp_get_default_domain ld: 0711-224 WARNING: Duplicate symbol: .yp_match ld: 0711-224 WARNING: Duplicate symbol: .spawnvp(int, char const*, char const* const*) ld: 0711-224 WARNING: Duplicate symbol: .pam_start ld: 0711-224 WARNING: Duplicate symbol: .pam_authenticate ld: 0711-224 WARNING: Duplicate symbol: .pam_end ld: 0711-224 WARNING: Duplicate symbol: .inet_aton ld: 0711-224 WARNING: Duplicate symbol: .sigblock ld: 0711-224 WARNING: Duplicate symbol: .sigsetmask ld: 0711-224 WARNING: Duplicate symbol: .dlopen ld: 0711-224 WARNING: Duplicate symbol: .dlsym ld: 0711-224 WARNING: Duplicate symbol: .dlerror ld: 0711-224 WARNING: Duplicate symbol: .dlclose ld: 0711-224 WARNING: Duplicate symbol: .INHERENT_fchown() ld: 0711-224 WARNING: Duplicate symbol: .INHERENT_link() ld: 0711-224 WARNING: Duplicate symbol: .strfRusage(char const*, int, char const*, int, char const*, char const*, int, char const*) ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. ld: 0711-317 ERROR: Undefined symbol: .bcmp(void const*, void const*, unsigned long) ld: 0711-317 ERROR: Undefined symbol: .bcopy(void const*, void*, unsigned long) ld: 0711-317 ERROR: Undefined symbol: .Xgetpeername(int, sockaddr*, int*) ld: 0711-317 ERROR: Undefined symbol: .Xgetsockname(int, sockaddr*, int*) ld: 0711-317 ERROR: Undefined symbol: .Xgetsockopt(int, int, int, void*, int*) ld: 0711-317 ERROR: Undefined symbol: .Xaccept(int, sockaddr*, int*) ld: 0711-317 ERROR: Undefined symbol: .dl_library(char const*, DLMap*, char const*) ld: 0711-317 ERROR: Undefined symbol: .RES_gethostbyname(char const*) ld: 0711-317 ERROR: Undefined symbol: .RES_gethostbyaddr(char const*, int, int) ld: 0711-317 ERROR: Undefined symbol: .Xrecvfrom(int, void*, unsigned long, int, sockaddr*, int*) ld: 0711-317 ERROR: Undefined symbol: .VSA_getViaSocksX(DGCtx*, char const*, int, VSAddr*, AuthInfo03*, VSAddr*) ld: 0711-317 ERROR: Undefined symbol: .serverPid() ld: 0711-317 ERROR: Undefined symbol: .CTX_auth(DGCtx*, char const*, char const*) ld: 0711-317 ERROR: Undefined symbol: .GetViaSocks(DGCtx*, char const*, int) ld: 0711-317 ERROR: Undefined symbol: .bindViaSocks(DGCtx*, char const*, int, char const*, int, char const*, int, char const*, int*) ld: 0711-317 ERROR: Undefined symbol: .acceptViaSocks(int, char const*, int, char const*, int, char const*, int*) ld: 0711-317 ERROR: Undefined symbol: .m17n_known_code(char const*) ld: 0711-317 ERROR: Undefined symbol: .m17n_ccx_new(char const*, char const*, void*, int) ld: 0711-317 ERROR: Undefined symbol: .m17n_ccx_string(_M17N*, char const*, int, char*, int) ld: 0711-317 ERROR: Undefined symbol: MIME_mapPosterAddr ld: 0711-317 ERROR: Undefined symbol: MIME_makeEmailCX ld: 0711-317 ERROR: Undefined symbol: MIME_makeEmailFP ld: 0711-317 ERROR: Undefined symbol: MIME_mapMessageId ld: 0711-317 ERROR: Undefined symbol: MIME_setPosterMasks ld: 0711-317 ERROR: Undefined symbol: MIME_makeAdminKey ld: 0711-317 ERROR: Undefined symbol: .str_isStr(FILE*) ld: 0711-317 ERROR: Undefined symbol: .malloc(int) ld: 0711-317 ERROR: Undefined symbol: .free(void*) ld: 0711-317 ERROR: Undefined symbol: .kill(int, int) ld: 0711-317 ERROR: Undefined symbol: .setuid(int) ld: 0711-317 ERROR: Undefined symbol: .setgid(int) ld: 0711-317 ERROR: Undefined symbol: .strlen(char const*) ld: 0711-317 ERROR: Undefined symbol: .strncmp(char const*, char const*, unsigned int) ld: 0711-317 ERROR: Undefined symbol: .fork() ld: 0711-317 ERROR: Undefined symbol: .wait4(int, int*, int, void*) collect2: ld returned 8 exit status make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Cheers, Christoph Von: feedback@delegate.org (Yutaka Sato) An: feedback@delegate.org Kopie: pvaiqbdyi-yvisyupk6m66.ml@delegate.org Datum: 07.08.2009 08:40 Betreff: Re: [DeleGate-En] Antwort: Re: [DeleGate-En] Antwort: Re: [DeleGate-En] Compilation error on AIX 5.3 Hi, In message <_A4524@delegate-en.ML_> on 08/07/09(15:06:28) you pvaiqbdyi-yvisyupk6m66.ml@delegate.org wrote: |Thank you again for your good feedback. However, there are errors over |errors. No, I have no experience with ancient Delegate on ancient/previous |AIX versions. This is the first time I try Delegate. and maybe you are not used to hack a C program... |The new errors is: ... | gcc -O2 -x c++ -DQS -I../gen -I../include -O -c http.c |http.c: In function 'int relay_response(Connection13*, QueryContext*, int, |const char*, const char*, int, const char*, const char*, int, FILE*, |FILE*, FILE*, FILE*, int)': |http.c:3707: error: no match for 'operator=' in 'RXut = 0' |../include/ystring.h:464: note: candidates are: UTag& |UTag::operator=(const UTag&) ... |Maybe the error can be escaped by replacing the line in http.c as bellow: |< #define UTonstack(siz) UTset(alloca(siz),siz) |> #define UTonstack(siz) 0 Hmm... the workaround should be as this for example: > #define UTonstack(siz) UTalloc(SB_CONN,siz,1) Cheers, Yutaka -- 9 9 Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.sato/ ( ~ ) National Institute of Advanced Industrial Science and Technology _< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan Do the more with the less -- B. Fuller This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The Swiss National Bank therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. This message is provided for information purposes only.