lkml.org 
[lkml]   [1998]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: a report of compiling 2.1.80-pre-2 and 'unresolved symbols'
    On Friday, 16 January 1998, Byeong-ryeol Kim wrote:

    > --- linux/drivers/scsi/gdth_proc.c~ Wed Nov 5 02:17:30 1997
    > +++ linux/drivers/scsi/gdth_proc.c Wed Dec 31 16:10:31 1997
    > @@ -3,6 +3,7 @@
    > */
    >
    > #include "gdth_ioctl.h"
    > +#define GDTH_TIMER 31
    >
    > int gdth_proc_info(char *buffer,char **start,off_t offset,int length,
    > int hostno,int inout)
    > @@ -620,12 +621,12 @@
    > oldto = scp->timeout;
    > scp->timeout = timeout;
    > if (timeout > 0) {
    > - if (timer_table[SCSI_TIMER].expires == 0) {
    > - timer_table[SCSI_TIMER].expires = jiffies + timeout;
    > - timer_active |= 1 << SCSI_TIMER;
    > + if (timer_table[GDTH_TIMER].expires == 0) {
    > + timer_table[GDTH_TIMER].expires = jiffies + timeout;
    > + timer_active |= 1 << GDTH_TIMER;
    > } else {
    > - if (jiffies + timeout < timer_table[SCSI_TIMER].expires)
    > - timer_table[SCSI_TIMER].expires = jiffies + timeout;
    > + if (jiffies + timeout < timer_table[GDTH_TIMER].expires)
    > + timer_table[GDTH_TIMER].expires = jiffies + timeout;
    > }
    > }
    >

    When compiling 2.1.85, I received this error:

    gdth_proc.c: In function `gdth_update_timeout':
    In file included from gdth.c:389:
    gdth_proc.c:623: `SCSI_TIMER' undeclared (first use this function)

    After applying the patch above, the file compiled successfully. It looks
    to me as though this file was forgotten in the SCSI changes around 2.1.74.
    ___
    Trevor Johnson

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu

    \
     
     \ /
      Last update: 2005-03-22 13:41    [W:0.019 / U:2.340 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site