Skip to contentSkip to conversation

Current CVS build errors on RH9

Qemu-devel Robert Reif 4 participants 4 messages Sep 1, 2007 – Sep 16, 2007

lore
Share & tools
lore
#0 lore raw

It's been a few months since I comipled from source so I just tried with current CVS and got these errors on RH9:

/home/wine/qemu/linux-user/syscall.c: In function `sys_tgkill':
/home/wine/qemu/linux-user/syscall.c:170: `__NR_tgkill' undeclared (first use in this function) /home/wine/qemu/linux-user/syscall.c:170: (Each undeclared identifier is reported only once /home/wine/qemu/linux-user/syscall.c:170: for each function it appears in.)

in various subdirectories and:

/home/wine/qemu/vl.c:59:24: linux/hpet.h: No such file or directory /home/wine/qemu/vl.c: In function `hpet_start_timer':
/home/wine/qemu/vl.c:1222: storage size of info' isn't known /home/wine/qemu/vl.c:1230: HPET_IRQFREQ' undeclared (first use in this function) /home/wine/qemu/vl.c:1230: (Each undeclared identifier is reported only once /home/wine/qemu/vl.c:1230: for each function it appears in.) /home/wine/qemu/vl.c:1239: HPET_INFO' undeclared (first use in this function) /home/wine/qemu/vl.c:1244: HPET_EPI' undeclared (first use in this function) /home/wine/qemu/vl.c:1249: HPET_IE_ON' undeclared (first use in this function) /home/wine/qemu/vl.c:1222: warning: unused variable info'

in various other subdirectories.

#1 lore raw

Hi

Quoted 8 lines

/home/wine/qemu/linux-user/syscall.c: In function `sys_tgkill':
/home/wine/qemu/linux-user/syscall.c:170: `__NR_tgkill' undeclared (first use in this function) /home/wine/qemu/linux-user/syscall.c:170: (Each undeclared identifier is reported only once /home/wine/qemu/linux-user/syscall.c:170: for each function it appears in.)

Quoted 4 lines

/home/wine/qemu/vl.c:59:24: linux/hpet.h: No such file or directory /home/wine/qemu/vl.c: In function `hpet_start_timer':
/home/wine/qemu/vl.c:1222: storage size of info' isn't known /home/wine/qemu/vl.c:1230: HPET_IRQFREQ' undeclared (first use in this function)

Got that messages too when I try to rebuild the CVS version about 3-4 days ago on my RH9 box. IMHO the reason is: no tg_kill syscall and hpet exists on RH 9. However, I successfully build the same CVS version on FC2. So, either we need to make the ./configure script detect such occassion and put the relevant ifdefs here and there, or we completely don't support those old distributions.

Anybody wants to share his/her thoughts about it?

regards,

Mulyadi

#2 lore raw
Quoted 5 lines · Mulyadi Santosa
Quoted 4 lines

/home/wine/qemu/vl.c:59:24: linux/hpet.h: No such file or directory /home/wine/qemu/vl.c: In function `hpet_start_timer':
/home/wine/qemu/vl.c:1222: storage size of info' isn't known /home/wine/qemu/vl.c:1230: HPET_IRQFREQ' undeclared (first use in this function)

Got that messages too when I try to rebuild the CVS version about 3-4 days ago on my RH9 box. IMHO the reason is: no tg_kill syscall and hpet exists on RH 9. However, I successfully build the same CVS version on FC2.

The same problem exists on the RedHat RHEL 4 (deriviated from the FC 3).

--
-=AV=-

*******************************************************************************************************
Это сообщение и любые вложения являются конфиденциальными и предназначенными исключительно для адресатов.
Любое неуполномоченное использование или распространение запрещено.
Сообщения могут быть изменены. Компания Orange Business Services не несёт ответственности за изменение или фальсификацию
сообщений. Если Вы не являетесь получателем данного сообщения, пожалуйста сообщите об этом отправителю и удалите это сообщение.
*******************************************************************************************************
This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. Messages are susceptible to alteration. Orange Business Services shall not be liable for the message if altered, changed or falsified. If you are not the intended addressee of this message, please cancel it immediately and inform the sender.
*******************************************************************************************************

#3 lore raw
In reply to Robert Reif
Quoted 9 lines · Robert Reif

It's been a few months since I comipled from source so I just tried with current CVS and got these errors on RH9:

/home/wine/qemu/linux-user/syscall.c: In function `sys_tgkill':
/home/wine/qemu/linux-user/syscall.c:170: `__NR_tgkill' undeclared (first use in this function)
/home/wine/qemu/linux-user/syscall.c:170: (Each undeclared identifier is reported only once
/home/wine/qemu/linux-user/syscall.c:170: for each function it appears in.)

It missed some ifdefs to disable use of those syscalls.

Quoted 17 lines

in various subdirectories and:

/home/wine/qemu/vl.c:59:24: linux/hpet.h: No such file or directory /home/wine/qemu/vl.c: In function `hpet_start_timer':
/home/wine/qemu/vl.c:1222: storage size of info' isn't known /home/wine/qemu/vl.c:1230: HPET_IRQFREQ' undeclared (first use in this function)
/home/wine/qemu/vl.c:1230: (Each undeclared identifier is reported only once
/home/wine/qemu/vl.c:1230: for each function it appears in.) /home/wine/qemu/vl.c:1239: `HPET_INFO' undeclared (first use in this function)
/home/wine/qemu/vl.c:1244: `HPET_EPI' undeclared (first use in this function)
/home/wine/qemu/vl.c:1249: `HPET_IE_ON' undeclared (first use in this function)
/home/wine/qemu/vl.c:1222: warning: unused variable `info'

Both should be fixed now.

Thiemo