All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] kqemu development - mingw issue
@ 2009-03-12 12:16 Bartlomiej Celary
  2009-03-12 20:44 ` Robert Riebisch
  0 siblings, 1 reply; 3+ messages in thread
From: Bartlomiej Celary @ 2009-03-12 12:16 UTC (permalink / raw)
  To: qemu-devel

Hi,
I have found a kqemu version 1.4 which should be working with current
development version of Qemu (got it from here:
http://www.sfr-fresh.com/unix/privat/kqemu-1.4.0pre1.tar.gz). I have
seen some posts regarding this peace of software and am not sure if it
is in any way developed. I am not sure if the author is still working
on it.

My actual problem is that under mingw I am not able to compile it. The
problem is in the ASM code (obviously...) which I have no idea about:

gcc -D__KERNEL__ -nostdinc -iwithprefix include -I. -I..
-D__ASSEMBLY__ -c -o i386/monitor_asm.o i386/monitor_asm.S
i386/monitor_asm.S: Assembler messages:
i386/monitor_asm.S:264: Error: junk at end of line, first unrecognized
character is `"'
i386/monitor_asm.S:264: Error: unknown pseudo-op: `.previous'
i386/monitor_asm.S:264: Error: junk at end of line, first unrecognized
character is `"'
i386/monitor_asm.S:264: Error: unknown pseudo-op: `.previous'
i386/monitor_asm.S:266: Error: junk at end of line, first unrecognized
character is `"'
i386/monitor_asm.S:266: Error: unknown pseudo-op: `.previous'
i386/monitor_asm.S:266: Error: junk at end of line, first unrecognized
character is `"'
i386/monitor_asm.S:266: Error: unknown pseudo-op: `.previous'
i386/monitor_asm.S:272: Error: junk at end of line, first unrecognized
character is `"'
i386/monitor_asm.S:272: Error: unknown pseudo-op: `.previous'
i386/monitor_asm.S:275: Error: junk at end of line, first unrecognized
character is `"'
i386/monitor_asm.S:275: Error: unknown pseudo-op: `.previous'
i386/monitor_asm.S:295: Error: junk at end of line, first unrecognized
character is `"'
i386/monitor_asm.S:295: Error: unknown pseudo-op: `.previous'
i386/monitor_asm.S:300: Error: junk at end of line, first unrecognized
character is `"'
i386/monitor_asm.S:300: Error: unknown pseudo-op: `.previous'
i386/monitor_asm.S:303: Error: junk at end of line, first unrecognized
character is `"'
i386/monitor_asm.S:303: Error: unknown pseudo-op: `.previous'
i386/monitor_asm.S:315: Error: junk at end of line, first unrecognized
character is `"'
i386/monitor_asm.S:315: Error: unknown pseudo-op: `.previous'
i386/monitor_asm.S:347: Error: junk at end of line, first unrecognized
character is `"'
i386/monitor_asm.S:347: Error: unknown pseudo-op: `.previous'

I have only managed to figure out that the .previous directive is not
supported in my case, and so this peace of code is probably the
problem:

#define SEG_EXCEPTION(label) \
    .section "seg_ex_table", "a" ; \
    .long label ; \
    .previous

also another issue is tha " character...

Any help greatly appreciated.

Best Regards,
Bartek Celary

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

* Re: [Qemu-devel] kqemu development - mingw issue
  2009-03-12 12:16 [Qemu-devel] kqemu development - mingw issue Bartlomiej Celary
@ 2009-03-12 20:44 ` Robert Riebisch
  2009-03-12 23:06   ` Johannes Schindelin
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Riebisch @ 2009-03-12 20:44 UTC (permalink / raw)
  To: qemu-devel

Bartlomiej Celary wrote:

> i386/monitor_asm.S:315: Error: unknown pseudo-op: `.previous'
> i386/monitor_asm.S:347: Error: junk at end of line, first unrecognized
> character is `"'
> i386/monitor_asm.S:347: Error: unknown pseudo-op: `.previous'
> 
> I have only managed to figure out that the .previous directive is not
> supported in my case, and so this peace of code is probably the
> problem:
> 
> #define SEG_EXCEPTION(label) \
>     .section "seg_ex_table", "a" ; \
>     .long label ; \
>     .previous
> 
> also another issue is tha " character...
> 
> Any help greatly appreciated.

Are you using Windows to build KQEMU? AFAIK that won't work, because you
need ELF support + MinGW cross-compiler.

Robert Riebisch
-- 
BTTR Software
http://www.bttr-software.de/

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

* Re: [Qemu-devel] kqemu development - mingw issue
  2009-03-12 20:44 ` Robert Riebisch
@ 2009-03-12 23:06   ` Johannes Schindelin
  0 siblings, 0 replies; 3+ messages in thread
From: Johannes Schindelin @ 2009-03-12 23:06 UTC (permalink / raw)
  To: Robert Riebisch; +Cc: qemu-devel

Hi,

On Thu, 12 Mar 2009, Robert Riebisch wrote:

> Bartlomiej Celary wrote:
> 
> > i386/monitor_asm.S:315: Error: unknown pseudo-op: `.previous'
> > i386/monitor_asm.S:347: Error: junk at end of line, first unrecognized
> > character is `"'
> > i386/monitor_asm.S:347: Error: unknown pseudo-op: `.previous'
> > 
> > I have only managed to figure out that the .previous directive is not
> > supported in my case, and so this peace of code is probably the
> > problem:
> > 
> > #define SEG_EXCEPTION(label) \
> >     .section "seg_ex_table", "a" ; \
> >     .long label ; \
> >     .previous
> > 
> > also another issue is tha " character...
> > 
> > Any help greatly appreciated.
> 
> Are you using Windows to build KQEMU? AFAIK that won't work, because you 
> need ELF support + MinGW cross-compiler.

Why should you need ELF support?  The Windows support in kqemu should make 
a Windows service, which is COFF/PE as everything else in Windows...

Having said that, I was never bold enough to try to compile it myself.

Ciao,
Dscho

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

end of thread, other threads:[~2009-03-12 23:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-12 12:16 [Qemu-devel] kqemu development - mingw issue Bartlomiej Celary
2009-03-12 20:44 ` Robert Riebisch
2009-03-12 23:06   ` Johannes Schindelin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.