From: Rainer Joswig on
On 1 Okt., 09:05, Antony <reverse.gmail....(a)lisp.linux> wrote:
> I get the above error. Anyone with a known fix?
>
> CCL version says
> Welcome to Clozure Common Lisp Version 1.3-r11936  (WindowsX8664)!
>
> local-time is from darcs as of I think Sept 29
>
> other libs it loads are pretty old, haven't updated in a while
>
> this is the first time I am trying this combination
>
> ? (asdf:operate 'asdf:load-op :local-time)
> ; loading system definition from
> c:/git/thirdparty/local-time/local-time.asd into #<Package "ASDF0">
> ; registering #<SYSTEM :LOCAL-TIME #x1416EAB3D> as LOCAL-TIME
> ; registering #<SYSTEM #:LOCAL-TIME.TEST #x14160A35D> as LOCAL-TIME.TEST
> ; loading system definition from c:/git/thirdparty/cl-fad/cl-fad.asd
> into #<Package "ASDF0">
> ; registering #<SYSTEM #:CL-FAD #x14178F8FD> as CL-FAD
> ;Compiler warnings for "c:/git/thirdparty/local-time/src/local-time.lisp" :
> ;   In TIMESTAMP+: In the call to %OFFSET-TIMESTAMP-PART with arguments
> (TIME UNIT AMOUNT :TIMEZONE TIMEZONE :OFFSET OFFSET),
> ;     the keyword argument :OFFSET is not one of (:TIMEZONE
> :UTC-OFFSET), which are recognized
> ;     by the definition of %OFFSET-TIMESTAMP-PART visible in the current
> compilation unit.
> ;   In (COMPILER-MACRO-FUNCTION TIMESTAMP<): Unused lexical variable TIME
> ;   In (COMPILER-MACRO-FUNCTION TIMESTAMP<=): Unused lexical variable TIME
> ;   In (COMPILER-MACRO-FUNCTION TIMESTAMP>): Unused lexical variable TIME
> ;   In (COMPILER-MACRO-FUNCTION TIMESTAMP>=): Unused lexical variable TIME
> ;   In (COMPILER-MACRO-FUNCTION TIMESTAMP=): Unused lexical variable TIME
> ;   In (COMPILER-MACRO-FUNCTION TIMESTAMP/=): Unused lexical variable TIME
> ; Warning: COMPILE-FILE warned while performing #<COMPILE-OP NIL
> #x1414A963D> on #<CL-SOURCE-FILE "local-time" #x1414A7FBD>.
> ; While executing: #<STANDARD-METHOD ASDF:PERFORM (ASDF:COMPILE-OP
> ASDF:CL-SOURCE-FILE)>, in process listener(1).
> NIL
>
> ? (local-time:now)
>  > Error: Can't resolve foreign symbol "gettimeofday"
>  > While executing: CCL::RESOLVE-EEP, in process listener(1).
>  > Type :POP to abort, :R for a list of available restarts.
>  > Type :? for other options.
> 1 >
>
> -Antony

There is a mailing list for Clozure Common Lisp.

http://trac.clozure.com/openmcl#MailingLists