compile Error - loaddap 3.5.2 on UNIX

Arnaud FOREST Arnaud.Forest at ifremer.fr
Tue Jul 4 23:57:11 PDT 2006


Hi James,

my OS is SunOS josephine 5.8 Generic_108528-29 sun4u sparc SUNW,Sun- 
Blade-1000

my compiler is Gnu compiler version 4.1.1

Libdap version 3.6.2
Loaddap version 3.5.2

but the hard disk where I built crashed yesterday, so it could come from 
  the hard disk.


James Gallagher a écrit:
> 
> On Jul 3, 2006, at 12:53 AM, Arnaud FOREST wrote:
> 
>> Hi,
>>
>> I take the last sources but the compilation seems not to finish ...
>>
>> It compile for 34 hours and the command doesn't change :
>>
>> mex -I/home/josephine/UnixTools/gnu/include -I/home2/gromeo/tools/ 
>> libdap-3.6.2/include -I/home2/gromeo/tools/libdap-3.6.2/include/ 
>> libdap -I. -V5 -DNO_MX_FREE -DHAVE_CONFIG_H -output loaddap  loaddap.c 
>> variable.c extend.c error.c MLVars.c process_values.c  \
>>         && touch loaddap-stamp
>>
>>
>> How long does it compile ? May it take a long time because I forgot  
>> something ?
> 
> 
> Arnaud,
> 
> The Makefile should work just fine but the command you're using seems  
> fine too. The compile should take  less than a minute, so something  is 
> wrong. What OS, compiler, et c. are you using?
> 
> James
> 
>>
>> thanks
>>
>>
>> From support-opendap at laraine.unidata.ucar.edu
>> > Arnaud,
>> >       There have been some changes on the source code, please run  
>> svn > command to get the new code and then try again:
>> >
>> > svn co http://scm.opendap.org:8090/svn/trunk/ml-structs/
>> >
>> > Yuan
>>
>> ------
>>
>> John Evans a écrit:
>>
>>> Hi Arnaud,
>>> I ran into the same problem.  Apply this patch to loaddap.c and see
>>> if that works.
>>> --- cut here ---
>>> 595a596
>>>
>>>>        int status;
>>>
>>> 688d688
>>> <         int status;
>>> --- cut here ---
>>> On Wednesday 28 June 2006 11:01, Arnaud FOREST wrote:
>>>
>>>> SunOS josephine 5.8 Generic_108528-29 sun4u sparc SUNW,Sun- Blade-1000
>>>> Gnu compiler version 4.1.1
>>>> Libdap version 3.6.2
>>>> Loaddap version 3.5.2
>>>>
>>>> Hi all,
>>>>
>>>> After compile libdap from sources, I try to compile loaddap from  
>>>> sources
>>>> and I am stuck with this error after doing "make" (configure run  
>>>> without
>>>> problems ):
>>>>
>>>>     "....
>>>>     Entering directory `/home2/gromeo/tools/loaddap-3.5.2'
>>>>     mex -I/home/josephine/UnixTools/gnu/include
>>>>     -I/home2/gromeo/tools/libdap-3.6.2/include
>>>>     -I/home2/gromeo/tools/libdap-3.6.2/include/libdap -I. -V5
>>>>     -DNO_MX_FREE -DHAVE_CONFIG_H -output loaddap loaddap.c
>>>>     variable.c extend.c error.c MLVars.c process_values.c  \
>>>>               && touch loaddap-stamp
>>>>     "loaddap.c", line 688: syntax error before or at: int
>>>>     "loaddap.c", line 689: undefined symbol: status
>>>>     cc: acomp failed for loaddap.c
>>>>
>>>>         mex: compile of 'loaddap.c' failed.
>>>>
>>>>     make[1]: *** [loaddap-stamp] Error 1
>>>>     make[1]: Leaving directory `/home2/gromeo/tools/loaddap-3.5.2'
>>>>     make: *** [all] Error 2 "
>>>>
>>>>
>>>> thanks !
>>>>
>>>> Arnaud
>>>>
>>>>
>>>>
>>>> ==================================================================== 
>>>> ====
>>>> ====== To unsubscribe dods, visit:
>>>> http://www.unidata.ucar.edu/mailing-list-delete-form.html
>>>> ==================================================================== 
>>>> ====
>>>> =====
>>>
>>
>>
>> ====================================================================== 
>> ========
>> To unsubscribe dods, visit:
>> http://www.unidata.ucar.edu/mailing-list-delete-form.html
>> ====================================================================== 
>> ========
>>
> 
> -- 
> James Gallagher                jgallagher at opendap.org
> OPeNDAP, Inc                   406.723.8663
> 
> 


==============================================================================
To unsubscribe dods, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================



More information about the Opendap mailing list