Article delegate-en <>
  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
08 Apr 2005 07:57:16 GMT "Rousseau Pierre \(DBB\)" <>


Your patch allows me to go further. I have encountered another error. First I have to specified "-lsocket" in Makefile as recommended in the error log. At this moment, compilation has been blocked because libsocket.a is needed and not present on my server. On this purpose, I have read in newsgroup that "/usr/lib/libc.a" contains libraries of "libsocket.a". So, I link "/usr/lib/libsocket.a" to "/usr/lib/libc.a". Compilation of 'lib' looks good until this compilation of MD5...

> /usr/bin/make -f Makefile.go CFLAGS="-O -x c++ -DQS" libmd5.a SHELL="/usr/bin/sh"
        ../../mkcpp md5c.c
../../mkcpp: not found

make: 1254-004 The error code from the last command is 1.


At this moment, compilation requires mkcpp evenif I use GCC. As I already tell you, MKCPP is not included in the package.

Have you got ideas about this?

Thanks for your help.

-----Original Message-----
From: Yutaka Sato []
Sent: mercredi 6 avril 2005 15:29
Cc:; Rousseau Pierre (DBB)
Subject: Re: [DeleGate-En:2899] Compilation of delegate 8.11.2

In message <> 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

Dexia Bank disclaimer :

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