Article delegate-en/2897 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Compilation of delegate 8.11.2
06 Apr 2005 13:29:22 GMT (Yutaka Sato)
The DeleGate Project

In message <_A2896@delegate-en.ML_> on 04/06/05(21:50:00)
you "Rousseau Pierre \(DBB\)" <> wrote:
 |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.
 |After "make clean", I execute "make CFLAGSPLUS="-DNONC99 -DQS -TP"".
 |Is it normal that "mkcpp" is not include in the pakage?

You don't need them when you have GCC (maybe after ver3.0 or so).
Just doing "make" is expected to be enough.

 |I still have problem. If I execute a second time the last compile command

Now your compilation is stacking on making libsubst.a in maker/

 |         -- 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*)
 |FATAL!!!!: Something wrong in Libraries.

Your ld command seems strange because it checks symbols not referred,
although the test program above named "_.c" just contains "main(){}".
Anyway you can force the checking pass with the enclosed patch.

  D G   Yutaka 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

*** ../maker/mkmake.c	Tue Mar  1 01:15:50 2005
--- maker/mkmake.c	Wed Apr  6 22:11:38 2005
*** 1649,1655 ****
--- 1649,1657 ----
  	fprintf(stderr,"\t -- checking LDLIBS = %s\n",LDLIBS);
  	if( !e_available(ERRLOG,NULL,CC,""/*CFLAGS*/,libs) ){
  		fatal(" Something wrong in Libraries.");
+ 		/*
  		return 3;
+ 		*/
  #ifndef __cplusplus

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]