[mico-devel] bench is interesting
KAYVEN RIESE
kayve at sfsu.edu
Fri Oct 13 02:28:39 UTC 2006
a little info for the past slew of mee doing mico on freeBSD
> gcc --version
gcc (GCC) 3.4.4 [FreeBSD] 20050518
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
> uname -a
FreeBSD bsd 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC
2006 root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>
On Thu, 12 Oct 2006, KAYVEN RIESE wrote:
>
>> cd bench
>> ls
> Makefile bench.bat bench.idl client micod.core
> server.core
> Makefile.win32 bench.cc bench.o client.cc server
> server.o
> bench bench.h bench_impl.h client.o server.cc
>> bench
> bench: Command not found.
>> ./bench
> /libexec/ld-elf.so.1: Shared object "libmico2.3.12.so" not found, required by
> "server"
> /libexec/ld-elf.so.1: Shared object "libmico2.3.12.so" not found, required by
> "server"
> /libexec/ld-elf.so.1: Shared object "libmico2.3.12.so" not found, required by
> "server"
> ### same process:
> /libexec/ld-elf.so.1: Shared object "libmico2.3.12.so" not found, required by
> "client"
> ### same machine (pipe):
> /libexec/ld-elf.so.1: Shared object "libmico2.3.12.so" not found, required by
> "client"
> ### same machine (TCP):
> /libexec/ld-elf.so.1: Shared object "libmico2.3.12.so" not found, required by
> "client"
> ### same machine (UDP):
> /libexec/ld-elf.so.1: Shared object "libmico2.3.12.so" not found, required by
> "client"
> ### same machine with micod (TCP):
> /libexec/ld-elf.so.1: Shared object "libmico2.3.12.so" not found, required by
> "client"
> kill: 805: No such process
> kill: 806: No such process
> kill: 807: No such process
>> run
> run: Command not found.
>> gmake run
> Makefile:44: warning: overriding commands for target `run'
> Makefile:41: warning: ignoring old commands for target `run'
> bench
> ### same process:
> 0.00203333 ms per call
> ### same machine (pipe):
> 0.7367 ms per call
> ### same machine (TCP):
> 0.7955 ms per call
> ### same machine (UDP):
> Assertion failed: (0), function accept, file transport/udp.cc, line 429.
> cannot bind to inet-dgram:bsd:12123
> Abort trap (core dumped)
> ### same machine with micod (TCP):
> 0.793033 ms per call
> kill: 825: No such process
>>
>
> On Thu, 12 Oct 2006, Karel Gardas wrote:
>
>>
>> Hi,
>>
>> how exactly have you configured MICO before building? I'm especially
>> curious if your build failed before completion or if you manually disabled
>> either name service (--disable-naming) or all coss (--disable-coss) to save
>> some building time...
>>
>> Anyway, you do have -I../../../include in your CXXFLAGS and it is used so
>> it should work well...
>>
>> Cheers,
>> Karel
>> --
>> Karel Gardas kgardas at objectsecurity.com
>> ObjectSecurity Ltd. http://www.objectsecurity.com
>> ---
>> Need experienced, fast, reliable technical MICO support?
>> ---> http://www.objectsecurity.com/mico_commsup_referral.html <---
>> ---
>>
>> On Tue, 10 Oct 2006, KAYVEN RIESE wrote:
>>
>>>
>>>
>>> On Tue, 10 Oct 2006, KAYVEN RIESE wrote:
>>>
>>>>
>>>> -o client
>>>> c++ -I. -I../../../include -O2 -Wall -D_REENTRANT -D_THREAD_SAFE -c
>>>> server
>>>> .cc -o server.o
>>>> c++ -I. -I../../../include -O2 -Wall -D_REENTRANT -D_THREAD_SAFE
>>>> -L../../../
>>>> libs tree.o tree_impl.o server.o -lmico2.3.12 -lcompat -lssl -lcrypto
>>>> -lm -lp
>>>> thread -o server
>>>> gmake[2]: Leaving directory `/usr/local/mico/demo/obv/tree'
>>>> gmake[2]: Entering directory `/usr/local/mico/demo/obv/tricky'
>>>> echo '# Module dependencies' > .depend
>>>> /usr/local/mico/./admin/mkdepend -I. -I../../../include -O2 -Wall
>>>> -D_REENTRANT
>>>> -D_THREAD_SAFE *.c *.cc >> .depend
>>>> /usr/local/mico/./idl/idl tricky.idl
>>>> c++ -I. -I../../../include -O2 -Wall -D_REENTRANT -D_THREAD_SAFE -c
>>>> tricky
>>>> .cc -o tricky.o
>>>> c++ -I. -I../../../include -O2 -Wall -D_REENTRANT -D_THREAD_SAFE -c
>>>> tricky
>>>> _impl.cc -o tricky_impl.o
>>>> c++ -I. -I../../../include -O2 -Wall -D_REENTRANT -D_THREAD_SAFE -c
>>>> client
>>>> .cc -o client.o
>>>> c++ -I. -I../../../include -O2 -Wall -D_REENTRANT -D_THREAD_SAFE
>>>> -L../../../
>>>> libs tricky.o tricky_impl.o client.o -lmico2.3.12 -lcompat -lssl
>>>> -lcrypto -lm
>>>> -lpthread -o client
>>>> c++ -I. -I../../../include -O2 -Wall -D_REENTRANT -D_THREAD_SAFE -c
>>>> server
>>>> .cc -o server.o
>>>> c++ -I. -I../../../include -O2 -Wall -D_REENTRANT -D_THREAD_SAFE
>>>> -L../../../
>>>> libs tricky.o tricky_impl.o server.o -lmico2.3.12 -lcompat -lssl
>>>> -lcrypto -lm
>>>> -lpthread -o server
>>>> gmake[2]: Leaving directory `/usr/local/mico/demo/obv/tricky'
>>>> gmake[1]: Leaving directory `/usr/local/mico/demo/obv'
>>>> gmake[1]: Entering directory `/usr/local/mico/demo/services'
>>>> Makefile:52: warning: overriding commands for target `install'
>>>> ../MakeVars:76: warning: ignoring old commands for target `install'
>>>> for i in naming naming-lb naming-mt events property-daemon; do gmake -C
>>>> $i || e
>>>> xit 1; done
>>>> gmake[2]: Entering directory `/usr/local/mico/demo/services/naming'
>>>> echo '# Module dependencies' > .depend
>>>> /usr/local/mico/./admin/mkdepend -I. -I../../../include -O2 -Wall
>>>> -D_REENTRANT
>>>> -D_THREAD_SAFE *.c *.cc >> .depend
>>>> /usr/local/mico/./idl/idl account.idl
>>>> c++ -I. -I../../../include -O2 -Wall -D_REENTRANT -D_THREAD_SAFE
>>>> -c accou
>>>> nt.cc -o account.o
>>>> c++ -I. -I../../../include -O2 -Wall -D_REENTRANT -D_THREAD_SAFE
>>>> -c clien
>>>> t.cc -o client.o
>>>> client.cc:2:28: coss/CosNaming.h: No such file or directory
>>>> client.cc: In function `int main(int, char**)':
>>>> client.cc:27: error: `CosNaming' has not been declared
>>>> client.cc:27: error: `NamingContext_var' undeclared (first use this
>>>> function)
>>>> client.cc:27: error: (Each undeclared identifier is reported only once
>>>> for each
>>>> function it appears in.)
>>>> client.cc:27: error: expected `;' before "nc"
>>>> client.cc:30: error: `nc' undeclared (first use this function)
>>>> client.cc:39: error: `CosNaming' has not been declared
>>>> client.cc:39: error: `Name' undeclared (first use this function)
>>>> client.cc:39: error: expected `;' before "name"
>>>> client.cc:40: error: `name' undeclared (first use this function)
>>>> client.cc:56: error: `CosNaming' has not been declared
>>>> client.cc:56: error: `NotFound' has not been declared
>>>> client.cc:56: error: invalid catch parameter
>>>> client.cc:60: error: `CosNaming' has not been declared
>>>> client.cc:60: error: `CannotProceed' has not been declared
>>>> client.cc:60: error: invalid catch parameter
>>>> client.cc:64: error: `CosNaming' has not been declared
>>>> client.cc:64: error: `InvalidName' has not been declared
>>>> client.cc:64: error: invalid catch parameter
>>>> client.cc:56: error: `...' handler must be the last handler for its try
>>>> block
>>>> client.cc:60: error: `...' handler must be the last handler for its try
>>>> block
>>>> gmake[2]: *** [client.o] Error 1
>>>> gmake[2]: Leaving directory `/usr/local/mico/demo/services/naming'
>>>> gmake[1]: *** [subs] Error 1
>>>> gmake[1]: Leaving directory `/usr/local/mico/demo/services'
>>>> gmake: *** [prg] Error 1
>>>> bsd# pwd
>>>> /usr/local/mico/demo
>>>> bsd#
>>>>
>>>>
>>> _______________________________________________
>>> Mico-devel mailing list
>>> Mico-devel at mico.org
>>> http://www.mico.org/mailman/listinfo/mico-devel
>>>
>>
> _______________________________________________
> Mico-devel mailing list
> Mico-devel at mico.org
> http://www.mico.org/mailman/listinfo/mico-devel
>
More information about the freebsd-stable
mailing list