Re: [uml-devel] "warning: passing argument 1 of ‘um_execve’ discards qualifiers from pointer target type"

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

 



On Thu, Oct 30, 2008 at 4:31 PM, Geert Uytterhoeven
<geert@xxxxxxxxxxxxxx> wrote:
> On Thu, 30 Oct 2008, Peter Teoh wrote:
>> While compiling the latest 2.6.28-rc2 (make linux ARCH=um O=uml):
>>
>>   CC      arch/um/kernel/syscall.o
>> /hdc1/download/2.6/linux26-acer/arch/um/kernel/syscall.c: In function
>> 'kernel_execve':
>> /hdc1/download/2.6/linux26-acer/arch/um/kernel/syscall.c:130: warning:
>> passing argument 1 of 'um_execve' discards qualifiers from pointer
>> target type
>> /hdc1/download/2.6/linux26-acer/arch/um/kernel/syscall.c:130: warning:
>> passing argument 2 of 'um_execve' discards qualifiers from pointer
>> target type
>> /hdc1/download/2.6/linux26-acer/arch/um/kernel/syscall.c:130: warning:
>> passing argument 3 of 'um_execve' discards qualifiers from pointer
>> target type
>> u  CC      arch/um/kernel/sysrq.o
>>   CC      arch/um/kernel/time.o
>>
>> snip
>>
>>   CC      kernel/trace/trace.o
>> /hdc1/download/2.6/linux26-acer/kernel/trace/trace.c: In function
>> 'tracing_generic_entry_update':
>> /hdc1/download/2.6/linux26-acer/kernel/trace/trace.c:659: error:
>> implicit declaration of function 'irqs_disabled_flags'
>> make[3]: *** [kernel/trace/trace.o] Error 1
>> make[2]: *** [kernel/trace] Error 2
>> make[1]: *** [kernel] Error 2
>> make: *** [sub-make] Error 2
>>
>> The .config as per attached.
>
> I see there are no UML builds yet on
> http://kisskb.ellerman.id.au/kisskb/matrix/.
> Perhaps it would be a good idea to add them?
>

sorry i don't understand how to read the table.   my target is x86
32bit UML, compiler is x86 32bit as well.   and the defconfig i used
is arch/um/defconfig, with some modification.


> Gr{oetje,eeting}s,
>
>                                                Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                                            -- Linus Torvalds
>



-- 
Regards,
Peter Teoh
--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux