(CL Net SNMP) class precedence issue with SNMP + USOCKET-UDP
Brought to you by:
binghe
|
From: William A. <an...@bi...> - 2008-04-18 19:45:33
|
I let my cl-net-snmp get a few weeks stale. I updated it recently,
and also grabbed the USOCKET-UDP library from your SVN repository.
I've pulled out anything that references USOCKET, but SBCL gives me
this loveliness when I try an SNMP-GET:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
While computing the class precedence list of the class named USOCKET:STREAM-DATAGRAM-USOCKET.
The class named USOCKET::DATAGRAM-USOCKET is a forward referenced class.
The class named USOCKET::DATAGRAM-USOCKET is a direct superclass of the class named USOCKET:STREAM-DATAGRAM-USOCKET.
[Condition of type SIMPLE-ERROR]
Restarts:
0: [ABORT] Return to SLIME's top level.
1: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl-thread" {100279D1B1}>)
Backtrace:
0: (SB-PCL::CPL-ERROR #<STANDARD-CLASS USOCKET:STREAM-DATAGRAM-USOCKET> "The class ~A is a forward referenced class.~@
The class ~A is ~A.")[:EXTERNAL]
1: ((LABELS SB-PCL::WALK) #<STANDARD-CLASS USOCKET:STREAM-DATAGRAM-USOCKET> (#<STANDARD-CLASS USOCKET:STREAM-USOCKET> #<SB-MOP:FORWARD-REFERENCED-CLASS USOCKET::DATAGRAM-USOCKET>))
2: (SB-PCL::COMPUTE-STD-CPL-PHASE-1 #<STANDARD-CLASS USOCKET:STREAM-DATAGRAM-USOCKET> (#<STANDARD-CLASS USOCKET:STREAM-USOCKET> #<SB-MOP:FORWARD-REFERENCED-CLASS USOCKET::DATAGRAM-USOCKET>))
3: (SB-PCL::COMPUTE-STD-CPL #<STANDARD-CLASS USOCKET:STREAM-DATAGRAM-USOCKET> (#<STANDARD-CLASS USOCKET:STREAM-USOCKET> #<SB-MOP:FORWARD-REFERENCED-CLASS USOCKET::DATAGRAM-USOCKET>))
4: (SB-PCL::UPDATE-CLASS #<STANDARD-CLASS USOCKET:STREAM-DATAGRAM-USOCKET> T)
5: (SB-PCL::UPDATE-CLASS #<STANDARD-CLASS USOCKET:STREAM-DATAGRAM-USOCKET> T)[:EXTERNAL]
6: (SB-PCL::INSTALL-OPTIMIZED-CONSTRUCTOR #<SB-PCL::CTOR {1002DB0139}>)
7: ((LAMBDA (&REST SB-PCL::ARGS)) #<SB-BSD-SOCKETS:INET-SOCKET descriptor 5 {10026C16F1}> #<SB-SYS:FD-STREAM for "a socket" {10026CEFA1}>)
8: (OPEN-SESSION "lp2")[:EXTERNAL]
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
I've done a little staring at the code, but this error takes us into
the outer reaches of CLOS, in which I'm no expert. Any ideas? I've
seen some of your email to the USOCKET list. Will your UDP stuff be
getting rolled into the main trunk? I can always revert to an older
SNMP until that's ready.
--
wm
|