Article delegate-en/2899 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[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\)" <pjyfqbdyi-mnhipghms5jr.ml@ml.delegate.org>



Hello,

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...

/opt/mailhub/secureEDI/tmp/delegate8.11.2/pds/md5
> /usr/bin/make -f Makefile.go CFLAGS="-O -x c++ -DQS" libmd5.a SHELL="/usr/bin/sh"
        ../../mkcpp md5c.c md5c.cc
../../mkcpp: not found

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


Stop.

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.
Pierre

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


In message <1B97679BE0734146931E06AC03E94B9F0123D3B0@BHBRVEXM002.dbb.int.dexwired.net> on 04/06/05(21:50:00)
you "Rousseau Pierre \(DBB\)" <pjyfqbdyi-mnhipghms5jr.ml@ml.delegate.org> 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/
directory.

 |         -- 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##
 |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.

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

*** ../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 :
http://www.dexia.be/maildisclaimer.htm
--------------------------------------



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