CPPSERV


Home Projects Jobs Clientele Contact

cppserv


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: missing endif on compiling



Also, do you have a program flex++ ?

Ilya A. Volynets-Evenbakh wrote:
> Aha. Which flex version do you have
> run
> lex --version
>
>
> Vania CIlli wrote:
>   
>> Hi,
>>
>> the last lines of output with ADON_VERBOSE=1 are:
>>
>> rules.mk:378: debug/./src/container/cthreadpool.cpp.dep: No such file or
>> directory
>> rules.mk:378: debug/./src/container/requestlistener.cpp.dep: No such
>> file or directory
>> rules.mk:378: debug/./src/container/App.cpp.dep: No such file or
>> directory
>> rules.mk:378: debug/./src/cxxsp/parser/cxxsp_compile.cpp.dep: No such
>> file or directory
>> rules.mk:378: debug/./src/cxxsp/parser/dso_code.cpp.dep: No such file or
>> directory
>> rules.mk:378: debug/./src/cxxsp/parser/generator_manager.cpp.dep: No
>> such file or directory
>> rules.mk:378: debug/./src/cxxsp/parser/generator.cpp.dep: No such file
>> or directory
>> rules.mk:378: debug/./src/cxxsp/parser/lexer.cpp.dep: No such file or
>> directory
>> rules.mk:378: debug/./src/cxxsp/parser/parser.cpp.dep: No such file or
>> directoryrules.mk:378: debug/./src/cxxsp/parser/csplex.cpp.dep: No such
>> file or directorylex -+ -osrc/cxxsp/parser/csplex.cpp
>> src/cxxsp/parser/csplex.l
>> flex: Can't use -+ with -l option
>> make[1]: *** [src/cxxsp/parser/csplex.cpp] Error 1
>> make[1]: Leaving directory `/home/vania/progetti/cppserv-0.1.94'
>> make: *** [all] Error 2
>>
>> Time to go home in my time zone. 
>> Bye
>>
>> Il giorno mar, 17/10/2006 alle 09.15 -0700, Ilya A. Volynets-Evenbakh ha
>> scritto:
>>   
>>     
>>> Ah.. So it isn't out of memory error for you.
>>>
>>> By the way - "Missing ...dep" is not an error - I just still didn't
>>> find a nice way to cause make to do dep tracking silently for me.
>>> (Not the top priority for now).
>>>
>>> Now, can you run
>>> make ADON_VERBOSE=1
>>> and give me last 10-15 lines of output?
>>>
>>>
>>> Vania CIlli wrote:
>>>     
>>>       
>>>> Hi,
>>>>
>>>> the build fails in a 1 second/1 seconds and half, so it's nearly
>>>> impossible to capture the usage of make, anyway the general free memory
>>>> moved very little during the process. A thing I didn't noticed before
>>>> was that in addition of the various "no such file or directory" for the
>>>> *.dep there is a final halting error that is:
>>>>
>>>> Compiling src/cxxsp/parser/csplex.l
>>>> flex: Can't use -+ with -l option
>>>> make[1]: *** [src/cxxsp/parser/csplex.cpp] Error 1
>>>> make[1]: Leaving directory `/home/vania/progetti/cppserv-0.1.94'
>>>> make: *** [all] Error 2
>>>>
>>>> Thanks
>>>>
>>>>
>>>> Il giorno mar, 17/10/2006 alle 08.36 -0700, Ilya A. Volynets-Evenbakh ha
>>>> scritto:
>>>>   
>>>>       
>>>>         
>>>>> Can you try to run top and watch memory usage of "make" command?
>>>>>
>>>>>
>>>>> Vania CIlli wrote:
>>>>>     
>>>>>         
>>>>>           
>>>>>> Hi, I've the same problems of Noniko on SUSE 10.1. I do have flex
>>>>>> installed (vers. 2.5.31) and all the usual developers tools. My machine
>>>>>> has 1 Gigabyte of RAM, swap is enabled and i've 1.62 gigabytes of it. I
>>>>>> dont't think it's a memory problem because memory comsuption doesn't
>>>>>> increase significantly during compilation
>>>>>>
>>>>>>
>>>>>> ulimit -a gives me:
>>>>>>
>>>>>> core file size          (blocks, -c) 0
>>>>>> data seg size           (kbytes, -d) unlimited
>>>>>> file size               (blocks, -f) unlimited
>>>>>> pending signals                 (-i) 8189
>>>>>> max locked memory       (kbytes, -l) 32
>>>>>> max memory size         (kbytes, -m) unlimited
>>>>>> open files                      (-n) 1024
>>>>>> pipe size            (512 bytes, -p) 8
>>>>>> POSIX message queues     (bytes, -q) 819200
>>>>>> stack size              (kbytes, -s) 8192
>>>>>> cpu time               (seconds, -t) unlimited
>>>>>> max user processes              (-u) 8189
>>>>>> virtual memory          (kbytes, -v) unlimited
>>>>>> file locks                      (-x) unlimited
>>>>>>
>>>>>>
>>>>>> Bye
>>>>>>
>>>>>> Il giorno mar, 17/10/2006 alle 07.51 -0700, Ilya A. Volynets-Evenbakh ha
>>>>>> scritto:
>>>>>>   
>>>>>>       
>>>>>>           
>>>>>>             
>>>>>>> You need to install flex package. I guess I should add it to
>>>>>>> dependencies now.
>>>>>>> My own distro of preference for development is Gentoo, as it always has
>>>>>>> all relevant development tools, headers, etc.
>>>>>>>
>>>>>>> As for SuSE problem.
>>>>>>> 1. How much RAM do you have.
>>>>>>> 2. Do you have swap enabled, if yes, how much
>>>>>>> 3. Please give me output of ulimit -a
>>>>>>>
>>>>>>> Although, I have to say that build process should not take that much
>>>>>>> RAM, there are some interesting things done in there, that might run
>>>>>>> amok.
>>>>>>>
>>>>>>>
>>>>>>> noniko wrote:
>>>>>>>     
>>>>>>>         
>>>>>>>             
>>>>>>>               
>>>>>>>> Hi, additional and sad report...
>>>>>>>>
>>>>>>>> I tried make in "Mandriva 2007". The result was a bit different, but
>>>>>>>> similar.
>>>>>>>>
>>>>>>>> make -f Makefile.real all
>>>>>>>> make[1]: Entering directory `/home/noniko/source/cppserv-0.1.94'
>>>>>>>> env-tests/env-tests.mk:17: debug/env-tests/_W.cache: No such file or
>>>>>>>> directory
>>>>>>>> env-tests/env-tests.mk:17: debug/env-tests/_Wall.cache: No such file or
>>>>>>>> directory
>>>>>>>>
>>>>>>>> .....
>>>>>>>>
>>>>>>>>  rules.mk:410: debug/./src/cxxsp/parser/parser.cpp.dep: No such file or
>>>>>>>> directory
>>>>>>>>  rules.mk:410: debug/./src/cxxsp/parser/csplex.cpp.dep: No such file or
>>>>>>>> directory
>>>>>>>>  Compiling src/cxxsp/parser/csplex.l
>>>>>>>>  make[1]: lex: Command not found
>>>>>>>>  make[1]: *** [src/cxxsp/parser/csplex.cpp] Error 127
>>>>>>>>  make[1]: Leaving directory `/home/noniko/source/cppserv-0.1.94'
>>>>>>>>  make: *** [all] Error 2
>>>>>>>>
>>>>>>>> I have more to add.
>>>>>>>> After failing make, a "debug" folder has been made, but in it there is
>>>>>>>> only a blank "log" file.
>>>>>>>>
>>>>>>>>   
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>                 
>>>>>>   
>>>>>>       
>>>>>>           
>>>>>>             
>>>>   
>>>>       
>>>>         
>>   
>>     
>
>   

-- 
Ilya A. Volynets-Evenbakh
Total Knowledge. CTO
http://www.total-knowledge.com


Authoright © Total Knowledge: 2001-2008