linux-um archives
 help / color / mirror / Atom feed
* Re: [uml-devel] compile error ...(now tracked down)
@ 2003-09-17 22:48 Steve Schmidtke
  2003-09-18  0:25 ` Jeff Dike
  0 siblings, 1 reply; 4+ messages in thread
From: Steve Schmidtke @ 2003-09-17 22:48 UTC (permalink / raw)
  To: jdike, blaisorblade_spam; +Cc: user-mode-linux-devel

>blaisorblade_spam@yahoo.it said:
> > # define st_atime st_atim.tv_sec        /* Backward compatibility.  */
>	...
> >                 .st_atime   = src->st_atime,   /* time of last access */
>
>This is just because of the names of the struct uml_stat.  Changing those
>field names should fix the compile problem.

Yup, there are a few ways sub-second file timestamps are handled:

  http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00183.html

I'm not going to pick one at this time. :)  I'll send Jeff another
patch that renames the entries and references to ust_*.  I also see a few 
stat() references in the code I can stomp right now.

Steve

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [uml-devel] compile error with 2.4.22-uml4 and 2.4.23-pre4-djc2-4um
@ 2003-09-16 18:29 Matthew R. Scott
  2003-09-17 11:29 ` [uml-devel] compile error ...(now tracked down) BlaisorBlade
  0 siblings, 1 reply; 4+ messages in thread
From: Matthew R. Scott @ 2003-09-16 18:29 UTC (permalink / raw)
  To: user-mode-linux-devel


With both of these patches I am getting the following error during compile:

gcc-2.95   -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing 
-fno-common -march=pentium -O3 -pipe -fomit-frame-pointer -U__i386__ -Ui386 
-DUM_FASTCALL -g -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE  -I/
home/gldnspud/uml/build/buildkernel-build/linux/arch/um/include -I/home/
gldnspud/uml/build/buildkernel-build/linux/arch/um/kernel/tt/include -I/home/
gldnspud/uml/build/buildkernel-build/linux/arch/um/kernel/skas/include 
-D_GNU_SOURCE -c -o umid.o umid.c
In file included from umid.c:18:
/home/gldnspud/uml/build/buildkernel-build/linux/arch/um/include/os.h:41: 
warning: no semicolon at end of struct or union
/home/gldnspud/uml/build/buildkernel-build/linux/arch/um/include/os.h:41: 
parse error before `.'
/home/gldnspud/uml/build/buildkernel-build/linux/arch/um/include/os.h:42: 
parse error before `.'
/home/gldnspud/uml/build/buildkernel-build/linux/arch/um/include/os.h:43: 
parse error before `.'
make[4]: *** [umid.o] Error 1
make[4]: Leaving directory `/home/gldnspud/uml/build/buildkernel-build/linux/
arch/um/kernel'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/home/gldnspud/uml/build/buildkernel-build/linux/
arch/um/kernel'
make[2]: *** [_dir_arch/um/kernel] Error 2
make[2]: Leaving directory `/home/gldnspud/uml/build/buildkernel-build/linux'
make[1]: *** [buildkernel-build-stamp] Error 2
make[1]: Leaving directory `/home/gldnspud/uml/build'
make: *** [build-stamp] Error 2

When I look at line 41, 42, and 43 in arch/um/include/os.h though, there 
doesn't seem to be any sort of problems.  Those lines are in the middle of a 
perfectly valid-looking struct.


-- 
Matthew R. Scott
OMAjA / http://www.omaja.com/



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-09-18  0:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-17 22:48 [uml-devel] compile error ...(now tracked down) Steve Schmidtke
2003-09-18  0:25 ` Jeff Dike
  -- strict thread matches above, loose matches on Subject: below --
2003-09-16 18:29 [uml-devel] compile error with 2.4.22-uml4 and 2.4.23-pre4-djc2-4um Matthew R. Scott
2003-09-17 11:29 ` [uml-devel] compile error ...(now tracked down) BlaisorBlade
2003-09-17 22:20   ` Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox