Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:Jim Breen's patched kterm



  Hi again,

  Well, Steve was right.  Including time.h and types.h (I don't care 
which did it) fixed that snag with the compile.  A little later on
though, this happens:

gcc -c -O2 -m486 -ansi    -I/usr/X11R6/include  -Dlinux -D__i386__ -D_POSIX_SOUR
CE -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE  -DFUNCPROTO=15 -DNARROWPROTO  -DKTERM
 -DSTATUSLINE -DKEEPALIVE  misc.c
misc.c: In function `Bell':
misc.c:328: too few arguments to function `gettimeofday'
make: *** [misc.o] Error 1

  The code at that point looks like this:

 gettimeofday(*curtime);
        now_msecs = 1000*curtime.tv_sec + curtime.tv_usec/1000;
       
  I don't have time to pursue this right now, but even I can see (I think)
that we need another argument to the system call 'gettimeofday'.

  My question is, I guess, how on earth did Jim Breen ever get this to 
compile if it's such a mess?  And is it worth my while fixing these problems
one by one?  Does anyone else out there think they need/want this?  Want to
help?

Dennis McMurchy, 
Tojinmachi, Fukuoka



-----------------------------------------------------------------
a word from the sponsor will appear below
-----------------------------------------------------------------
The TLUG mailing list is proudly sponsored by TWICS - Japan's First
Public-Access Internet System.  Now offering 20,000 yen/year flat
rate Internet access with no time charges.  Full line of corporate
Internet and intranet products are available.   info@example.com
Tel: 03-3351-5977   Fax: 03-3353-6096


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links