Hello, Thanks for the help. I have tried your advices...but without success. I substitute CC with GCC (cc is a link to gcc binary). Parameter "-x c++" seems to be ok. TELEPORT library still have something wrong. After "make clean", I execute "make CFLAGSPLUS="-DNONC99 -DQS -TP"". I still have problem. If I execute a second time the last compile command (cc _.o -L../lib ../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libmimekit.a ../lib/libfsx.a -lnsl -lpam -lstdc++ ../lib/library.a -lc), problem is still the same. Maybe you have idea(s) about this issue? Is it normal that "mkcpp" is not include in the pakage? Have a nice day, Pierre LDLIBS=../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libmimekit.a ../lib/libfsx.a -lnsl -lpam -lstdc++ ../lib/library.a -lc Files=dummy.c gxx.c __uname.c uname.c bcopy.c putenv.c __alloca.c old_alloca.c alloca.c killpg.c setsid.c sigmask.c sigsetmask.c setresuid.c seteuid.c setegid.c timegm.c __usleep.c usleep.c _-poll.c _-select.c _-recv.c closesocket.c yp_match.c endhostent.c socklen_u.c socklen_s.c socketpair.c inet_aton.c strerror.c strcasecmp.c strcasestr.c strstr.c strdup.c strncpy.c snprintf.c setbuffer.c setlinebuf.c __syslog.c syslog.c __syscall.c __fork.c fork.c __ptrace.c _-ptrace.c ptrace.c __sigaction.c sigaction.c __utimes.c utimes.c fsync.c __fchmod.c fchmod.c __fchown.c fchown.c chown.c __link.c link.c __symlink.c symlink.c readlink.c __lstat.c lstat.c __statvfs.c _-statvfs.c statvfs.c vfork.c wait3.c waitpid.c getmsg.c chroot.c nice.c __getrlimit.c getrlimit.c ___spawnvp.c __spawnvp.c _spawnvp.c spawnvp.c spawnvp_.c ___lwp_create.c __lwp_create.c __pthread_create.c _-CreateThread.c ___beginthread.c nothread.c __locking.c __flock.c _-fcntl.c FMODE.c getwd.c getcwd.c __opendir.c __scandir.c ___findfirst.c pam_start.c stdio.c errno.c -- checking CC = cc -- checking CC with CFLAGS = cc -c -O -x c++ -DQS -- checking LDLIBS = ../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libmimekit.a ../lib/libfsx.a -lnsl -lpam -lstdc++ ../lib/library.a -lc ##ERROR## *** ##ERROR## cc _.o -L../lib ../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libmimekit.a ../lib/libfsx.a -lnsl -lpam -lstdc++ ../lib/library.a -lc ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .bcopy(void const*, void*, unsigned long) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .strcasestr(char const*, char const*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .Xgetpeername(int, sockaddr*, int*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .Xaccept(int, sockaddr*, int*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .setBinaryIO() ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .Xgetsockname(int, sockaddr*, int*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .Xrecvfrom(int, void*, unsigned long, int, sockaddr*, int*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .PollIns(int, int, int*, int*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .CTX_auth(DGCtx*, char const*, char const*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .GetViaSocks(DGCtx*, char const*, int) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .bindViaSocks(DGCtx*, char const*, int, char const*, int, char const*, int, char const*, int*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .acceptViaSocks(int, char const*, int, char const*, int, char const*, int*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .PollOut(int, int) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .Usleep(int) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .connRESETbypeer() ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .connHUP() ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .PollIn1(int, int) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .Uname(char const*, int, char const*, int, char const*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .Xgetsockopt(int, int, int, void*, int*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .getpeersNAME(int, char const*, int, char const*, int, char const*, char const*, int, char const*, int, char const*, int*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .sendTimeout(int, char const*, int, int, int) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .sv1log(char const*, ...) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .sendTo(int, char const*, char const*, int) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .sv1vlog(char const*, ...) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .readfrom(int, void*, int, char const*, int, char const*, int, char const*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .getpeerName(int, char const*, int, char const*, int, char const*, char const*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .HostId(char const*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .sockHostport(int, int*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .server_open(char const*, char const*, int, char const*, int, char const*, int, int) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .ACCEPT(int, int, int, int) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .Socketpair(int*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: SPAWN_P_NOWAIT ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .spawnvp(int, char const*, char const* const*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .getWaitExitCode(int*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .getWaitExitSig(int*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .getWaitExitCore(int*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .getWaitStopSig(int*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .ptraceKill(int) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .ptraceContinue(int, int) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: WAIT_WNOHANG ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .INHERENT_fork() ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .sv1tlog(char const*, ...) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .addBeforeExit(char const*, void (*)(void*, ...), void*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .shiobar(char const*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .client_open(char const*, char const*, char const*, int) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .RecvLine(int, void*, int) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .DELEGATE_ver() ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .getpeerNAME(int, char const*, int, char const*, int, char const*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .GetHostname(char const*, int, char const*, int, char const*, int) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .connectToMyself(char const*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .callDelegate1(int, char const*, char const*, int) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .timegm(tm*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .simple_relayf(FILE*, FILE*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .Gunzip(char const*, FILE*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .INHERENT_lstat() ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .Scandir(char const*, int (*)(char const*, ...), ...) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .system_CGI(char const*, char const*, char const*, char const*, int, char const*, int, char const*, char const*, FILE*, FILE*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .genheadf(char const*, char const*, int, char const*, int, char const*, int) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .HTTP_putMIMEmsg(DGCtx*, FILE*, FILE*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .builtin_filter(char const*, char const*, FILE*, FILE*, FILE*, FILE*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .systemFilter(char const*, FILE*, FILE*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: scan_ino ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .lock_exclusiveTO(int, int, int*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .reverseMOUNT(DGCtx*, char const*, int, char const*, int, char const*, int) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: WithThread ##ERROR## ld: 0711-317 ERROR: Undefined symbol: ThreadFork ##ERROR## ld: 0711-317 ERROR: Undefined symbol: ThreadYield ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .alloca_call(AllocaArg*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .str_isStr(FILE*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .decomp_absurl(char const*, char const*, int, char const*, int, char const*, char const*, int, char const*, int, char const*, char const*, int, char const*, int, char const*, int) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .serviceport(char const*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .getURLgetURL() ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .scan_protositeport(char const*, char const*, int, char const*, int, char const*, char const*, int, char const*, int, char const*, char const*, int, char const*, int, char const*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .html_nextTagAttrX(void*, char const*, char const*, char const*, int, char const*, int, char const*, char const**, char const**, int*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .isFullURL(char const*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .URLget(char const*, int, FILE*) ##ERROR## ld: 0711-317 ERROR: Undefined symbol: .DELEGATE_verdate() ##ERROR## ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. ##ERROR## collect2: ld returned 8 exit status ##ERROR## FATAL!!!!: Something wrong in Libraries. make: 1254-004 The error code from the last command is 3. Stop. make: 1254-004 The error code from the last command is 2. Stop. mkmake: ERROR LOG is left at /TST/EXSE/messaging.v2003/secureEDI/delegate8.11.2/maker/mkmake.err mkmake: ERROR LOG is left at /TST/EXSE/messaging.v2003/secureEDI/delegate8.11.2/maker/mkmake.err make: 1254-004 The error code from the last command is 2. Stop. make: 1254-004 The error code from the last command is 2. Stop. mkmake: ERROR LOG is left at /TST/EXSE/messaging.v2003/secureEDI/delegate8.11.2/src/mkmake.err mkmake: ERROR LOG is left at /TST/EXSE/messaging.v2003/secureEDI/delegate8.11.2/src/mkmake.err make: 1254-004 The error code from the last command is 2. Stop. mailhub@rgom303:/opt/mailhub/secureEDI/delegate8.11.2/teleport > ls -alrt total 456 -rw-r--r-- 1 mailhub mail 4869 Apr 21 1996 README -rw-r--r-- 1 mailhub mail 535 Nov 02 11:19 teleport.h -rw-r--r-- 1 mailhub mail 2380 Jan 14 16:07 qz.c -rw-r--r-- 1 mailhub mail 5244 Mar 01 00:44 qzcode.c -rw-r--r-- 1 mailhub mail 26528 Mar 01 00:44 vehicle.c -rw-r--r-- 1 mailhub mail 20512 Mar 01 00:45 teleportd.c -rw-r--r-- 1 mailhub mail 1342 Mar 14 13:10 Makefile drwxr-xr-x 16 mailhub mail 1024 Apr 06 14:22 ../ -rw-r--r-- 1 mailhub mail 20648 Apr 06 14:23 teleportd.cc -rw-r--r-- 1 mailhub mail 1747 Apr 06 14:23 Makefile.go -rw-r--r-- 1 mailhub mail 26706 Apr 06 14:23 vehicle.cc -rw-r--r-- 1 mailhub mail 27401 Apr 06 14:23 teleportd.o -rw-r--r-- 1 mailhub mail 37676 Apr 06 14:23 vehicle.o -rw-r--r-- 1 mailhub mail 8121 Apr 06 14:23 qzcode.o -rw-r--r-- 1 mailhub mail 5276 Apr 06 14:23 qzcode.cc drwxr-xr-x 2 mailhub mail 512 Apr 06 14:23 ./ mailhub@rgom303:/opt/mailhub/secureEDI/delegate8.11.2/teleport > ls -lart ../lib total 2608 -rw-r--r-- 1 mailhub mail 271 Jul 17 1998 README drwxr-xr-x 16 mailhub mail 1024 Apr 06 14:22 ../ -rw-r--r-- 1 mailhub mail 74858 Apr 06 14:23 libteleport.a -rw-r--r-- 1 mailhub mail 145145 Apr 06 14:23 libresolvy.a -rw-r--r-- 1 mailhub mail 195024 Apr 06 14:23 libmimekit.a -rw-r--r-- 1 mailhub mail 16023 Apr 06 14:23 libmd5.a -rw-r--r-- 1 mailhub mail 80232 Apr 06 14:23 libcfi.a -rw-r--r-- 1 mailhub mail 693281 Apr 06 14:23 library.a -rw-r--r-- 1 mailhub mail 105679 Apr 06 14:23 libfsx.a drwxr-xr-x 2 mailhub mail 512 Apr 06 14:23 ./ -----Original Message----- From: Yutaka Sato [mailto:pficabdyi-mxhgu42o633w.ml@delegate.org] Sent: mercredi 6 avril 2005 0:09 To: pficabdyi-mxhgu42o633w.ml@delegate.org Cc: feedback@delegate.org; Rousseau Pierre (DBB) Subject: Re: [DeleGate-En:2897] Compilation of delegate 8.11.2 In message <1B97679BE0734146931E06AC03E94B9F030BB0BD@BHBRVEXM002.dbb.int.dexwired.net> on 04/05/05(21:48:46) you "Rousseau Pierre \(DBB\)" <pjyfqbdyi-mxhgu42o633w.ml@delegate.org> wrote: |I have downloaded new version of delegate. I have extracted files on AIX5.2 server and I have launched compilation with CC... (see in attached file"Compilation") ... |make: 1254-053 Command "$(MKCPP)" expands to empty string. | |cc: 1501-228 input file c++ not found It is likely that your CC does not recognize "-x c++" option which means getting input file as a C++ program. |If I try to execute only "cc -O -x c++ -DQS -I../include -O -c teleportd.c -o teleportd.o" in teleport folder, the error is the same. |For information, I have successfuly compiled Delegate8.9.6 on the same machine... DeleGate has come to be based on C++ and C99 instead of K&R C after the version 8.10. |Do you have idea about this issue? If your CC supports C++, then the following might make it advance: % make clean % make CFLAGSPLUS="-DNONC99 -DQS -TP" Otherwise, you might be able to make DeleGate without boundary checking feature, thus dangerous to use, like this, but I never recommend this: % make CFLAGSPLUS="-DNONC99" Cheers, Yutaka -- D G Yutaka Sato <pfqcabdyi-mxhgu42o633w.ml@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 -------------------------------------- Dexia Bank disclaimer : http://www.dexia.be/maildisclaimer.htm --------------------------------------