qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu-0.8.2 under Solaris compilation?
@ 2006-07-26 18:20 Ishwar Rattan
  0 siblings, 0 replies; 2+ messages in thread
From: Ishwar Rattan @ 2006-07-26 18:20 UTC (permalink / raw)
  To: qemu-devel


I failed to compile qemu-0.8.2 under Solaris on SPARC Sun-Blade-100 box.


rattan@cps222: qemu-0.8.2 $ uname -a

SunOS cps222 5.10 Generic_118833-03 sun4u sparc SUNW,Sun-Blade-100
rattan@cps222: qemu-0.8.2 $ gcc -v

Reading specs from /opt/sfw/bin/../lib/gcc/sparc-sun-solaris2.10/3.4.4/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.4.4

rattan@cps222: qemu-0.8.2
---
...
.8.2/slirp -c -o vl.o /home/faculty/r/rattan/qemu-0.8.2/vl.c
/home/user/r/rattan/qemu-0.8.2/vl.c: In function `cpu_get_ticks':
/home/user/r/rattan/qemu-0.8.2/vl.c:589: warning: implicit declaration of function `cpu_get_real_ticks'
/home/user/r/rattan/qemu-0.8.2/vl.c: In function `init_timer_alarm':
/home/user/r/rattan/qemu-0.8.2/vl.c:1008: warning: label `use_itimer' defined but not used
/home/user/r/rattan/qemu-0.8.2/vl.c: In function `net_slirp_smb':
/home/user/r/rattan/qemu-0.8.2/vl.c:2931: warning: int format, pid_t arg (arg 4)
/home/user/r/rattan/qemu-0.8.2/vl.c: In function `create_pidfile':
/home/user/r/rattan/qemu-0.8.2/vl.c:3892: warning: int format, pid_t arg (arg 3)
/home/user/r/rattan/qemu-0.8.2/vl.c: At top level:
/home/user/r/rattan/qemu-0.8.2/vl.c:922: warning: 'start_rtc_timer' defined but not used
/home/user/r/rattan/qemu-0.8.2/vl.c: In function `cpu_get_ticks':
/home/user/r/rattan/qemu-0.8.2/vl.c:589: warning: implicit declaration of function `cpu_get_real_ticks'
...
lm -lz -lsocket -lnsl -lresolv -L/opt/sfw/lib -R/opt/sfw/lib -lSDL -lpthread -lposix4
Undefined                       first referenced
  symbol                             in file
  cpu_get_real_ticks                  vl.o
  ld: fatal: Symbol referencing errors. No output written to qemu
  collect2: ld returned 1 exit status
  gmake[1]: *** [qemu] Error 1
  gmake[1]: Leaving directory `/home/user/r/rattan/qemu-0.8.2/i386-softmmu'
  make: *** [subdir-i386-softmmu] Error 2
----

Any ideas?
-ishwar

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

* RE: [Qemu-devel] qemu-0.8.2 under Solaris compilation?
@ 2006-07-26 19:40 Blue Swirl
  0 siblings, 0 replies; 2+ messages in thread
From: Blue Swirl @ 2006-07-26 19:40 UTC (permalink / raw)
  To: ishwar; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 426 bytes --]

>I failed to compile qemu-0.8.2 under Solaris on SPARC Sun-Blade-100 box.

Does this patch help?

It looks like Solaris gcc by default compiles in V8plus (or V8plusa?) mode, 
not V8 or V9 as I assumed. V8 would be wrong.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

[-- Attachment #2: solaris_fix.diff.bz2 --]
[-- Type: application/octet-stream, Size: 274 bytes --]

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

end of thread, other threads:[~2006-07-26 19:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-26 18:20 [Qemu-devel] qemu-0.8.2 under Solaris compilation? Ishwar Rattan
  -- strict thread matches above, loose matches on Subject: below --
2006-07-26 19:40 Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).