Hmm, ... really strange, autocfg.h looks good.
Please,
1. send me the complete manpage for ftime (man ftime | col -b, I guess)
2. send me sys/time.h and sys/timeb.h files
From time to yime there are portability problems caused by non-standard
declaretions of functions/macros. But your one is the first related to
ftime.
Pavel
Caran julien wrote:
> Sorry I forgot the autocfg.h file (see below).
>
> The synopsis for the ftime function is :
> #include <sys/time.h>
> #include <sys/timeb.h>
>
> int ftime(
> struct timeb *tp );
>
> ------------------------------------
> $ cat autocfg/autocfg.h
> /* autocfg/autocfg.h. Generated automatically by configure. */
> /* autocfg/autocfg.h.in. Generated automatically from configure.in by
> autoheader. */
>
> /* Define if you have the isnan function */
> #define HAVE_ISNAN 1
>
> /* Define if you have the isinf function */
> /* #undef HAVE_ISINF */
>
> /* Define if you have the finite function */
> #define HAVE_FINITE 1
>
> /* Define if don't want to generate the META html tag */
> /* #undef SABLOT_DISABLE_ADDING_META */
>
> /* Define if you have the ftime function. */
> #define HAVE_FTIME 1
>
> /* Define if you have the gettimeofday function. */
> /* #undef HAVE_GETTIMEOFDAY */
>
> /* Define if you have the iconv_open function. */
> /* #undef HAVE_ICONV_OPEN */
>
> /* Define if you have the mtrace function. */
> /* #undef HAVE_MTRACE */
>
> /* Define if you have the <expat.h> header file. */
> #define HAVE_EXPAT_H 1
>
> /* Define if you have the <iconv.h> header file. */
> #define HAVE_ICONV_H 1
>
> /* Define if you have the <ieeefp.h> header file. */
> /* #undef HAVE_IEEEFP_H */
>
> /* Define if you have the <sys/time.h> header file. */
> #define HAVE_SYS_TIME_H 1
>
> /* Define if you have the <sys/timeb.h> header file. */
> #define HAVE_SYS_TIMEB_H 1
>
> /* Define if you have the <sys/types.h> header file. */
> #define HAVE_SYS_TYPES_H 1
>
> /* Define if you have the <timeb.h> header file. */
> /* #undef HAVE_TIMEB_H */
>
> /* Define if you have the <unistd.h> header file. */
> #define HAVE_UNISTD_H 1
>
> /* Define if you have the <xmlparse.h> header file. */
> /* #undef HAVE_XMLPARSE_H */
>
> /* Define if you have the <xmltok/xmlparse.h> header file. */
> /* #undef HAVE_XMLTOK_XMLPARSE_H */
>
> ----- Original Message -----
> From: "Pavel Hlavnicka" <[EMAIL PROTECTED]>
> To: "Sablotron Mailing List" <[EMAIL PROTECTED]>
> Sent: Monday, February 05, 2001 6:28 PM
> Subject: Re: [Sab] Building break on Digital
>
>
>
>> could you post output of the configure and autocfg/autocfg.h?
>>
>> Caran julien wrote:
>>
>>
>>> Salut,
>>>
>>> I try to compile Sablot-0.50 on DgUx but it breaks along the way, here
>>
> is
>
>>> the output :
>>>
>>> $ ./configure
>>> $ gmake
>>> Making all in Sablot
>>> gmake[1]: Entering directory `/u/webadm/local/build/Sablot-0.50/Sablot'
>>> Making all in engine
>>> gmake[2]: Entering directory
>>> `/u/webadm/local/build/Sablot-0.50/Sablot/engine'
>>> /bin/sh ../../libtool --mode=compile
>>> c++ -DHAVE_CONFIG_H -I. -I. -I../../autocfg -g -O2 -c parser.cpp
>>> rm -f .libs/parser.lo
>>> c++ -DHAVE_CONFIG_H -I. -I. -I../../autocfg -g -O2 -c
>>
> parser.cpp -DPIC -o
>
>>> .libs/parser.lo
>>> mv -f .libs/parser.lo parser.o
>>> (cd . && ln -s parser.o parser.lo)
>>> /bin/sh ../../libtool --mode=compile
>>> c++ -DHAVE_CONFIG_H -I. -I. -I../../autocfg -g -O2 -c platform.cpp
>>> rm -f .libs/platform.lo
>>> c++ -DHAVE_CONFIG_H -I. -I. -I../../autocfg -g -O2 -c
>>
> latform.cpp -DPIC -o
>
>>> .libs/platform.lo
>>> platform.cpp: In function `double getMillisecs()':
>>> platform.cpp:95: implicit declaration of function `int ftime(...)'
>>> gmake[2]: *** [platform.lo] Error 1
>>> gmake[2]: Leaving directory
>>> `/u/webadm/local/build/Sablot-0.50/Sablot/engine'
>>> gmake[1]: *** [all-recursive] Error 1
>>> gmake[1]: Leaving directory `/u/webadm/local/build/Sablot-0.50/Sablot'
>>> gmake: *** [all-recursive] Error 1
>>>
>>> I use the following gcc version :
>>>
>>> webadm:local/build/Sablot-0.50 $ gcc -v
>>> Reading specs from /opt/gnu/lib/gcc-lib/alpha-dec-osf4.0f/2.95.2/specs
>>> gcc version 2.95.2 19991024 (release)
>>>
>>> If anyone can help me , I will appreciate....
>>>
>>> Thx.
>>
>>
>> --
>> Pavel Hlavnicka
>> Ginger Alliance Ltd.
>> Prague; Czech Republic
>>
--
Pavel Hlavnicka
Ginger Alliance Ltd.
Prague; Czech Republic