sad lack of randomness
KAYVEN RIESE
kayve at sfsu.edu
Fri Oct 13 19:03:23 UTC 2006
i feel this is relevant to freeBSD because it could be
something unique to freeBSD interaction with mico causing
the bug. i know there are those here who run both
On Fri, 13 Oct 2006, KAYVEN RIESE wrote:
> well it doesn't! something is wrong with mico! do u have any
> advice on diagnostics?
>
> On Fri, 13 Oct 2006, Karel Gardas wrote:
>
>>
>> Hi,
>>
>> sorry, I don't understand. Could you be so kind and be more verbose? IMHO
>> demo/random should just work.
>>
>> Cheers,
>> Karel
>>
>> On Thu, 12 Oct 2006, KAYVEN RIESE wrote:
>>
>>>
>>> is this a bad thing?
>>>
>>>> cat Makefile
>>> # Makefile for a little mico client that reads random numbers from a
>>> # Corba-server. See client.cc for details.
>>>
>>> all: .depend client
>>>
>>> include /usr/local/mico/MakeVars
>>> INSTALL_DIR = random
>>> INSTALL_SRCS = Makefile client.cc random.idl
>>>
>>>
>>> client: random.h random.o client.o $(DEPS)
>>> $(LD) $(CXXFLAGS) $(LDFLAGS) random.o client.o $(LDLIBS) -o $@
>>>
>>> random.h random.cc : random.idl $(IDLGEN)
>>> $(IDL) random.idl
>>>
>>> clean:
>>> rm -f random.cc random.h *.o core client *~ .depend
>>>> cat README
>>>
>>> This demo retrieves true random numbers from a CORBA server on the
>>> internet,
>>> so running the client requires a live internet connection.
>>>
>>> See http://www.random.org/
>>> and http://www.random.org/corba.html
>>>
>>> The file "random.ior" contains the current IOR of the server. If the
>>> client
>>> fails to connect to the server, please check the above URL to see if the
>>> reference has changed.
>>>
>>> This demo was kindly contributed by
>>> *--------------------------------------------------------------------------*
>>> | Frank Schneider Department of Computer Science III
>>> |
>>> | Phone: ++49 241 80 21312 RWTH Aachen, Ahornstr. 55 |
>>> | Fax: ++49 241 8888 218 52074 Aachen, Germany |
>>> | mailto:frank at i3.informatik.rwth-aachen.de |
>>> *--------------------------------------------------------------------------*
>>>> gmake client
>>> gmake: `client' is up to date.
>>>> client
>>> client: Command not found.
>>>> ./client
>>> /libexec/ld-elf.so.1: Shared object "libmico2.3.12.so" not found, required
>>> by "client"
>>>> ls
>>> Makefile README client.cc random.cc random.idl
>>> random.o
>>> Makefile.win32 client client.o random.h random.ior
>>>> pwd
>>> /home/kayve/demo/random
>>>>
>>>
>>> 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
>>>>>
>>>>
>>>
>>
>> --
>> Karel Gardas kgardas at objectsecurity.com
>> ObjectSecurity Ltd. http://www.objectsecurity.com
>>
>
More information about the freebsd-stable
mailing list