ArchLinuxARM H3GPU error: implicit declaration of fn.

Discussion about U-Boot and the kernel.

ArchLinuxARM H3GPU error: implicit declaration of fn.

Postby kapitanf » Sun Jun 23, 2019 11:15 am

Hi All, i have new/old black box game named OrangePI Lite. In this minicomputer is CPU Allwinner H3 cpu (SoC) with Mali400MP2 gpu. As operating system i have ArchlinuxARM builded with latest kernel (? 5.1.8). Now i try build mali drivers from sunxi. Problem is between my kernel and sunxi kernel (? 3.4.113). Mali drivers are created for old kernel, this is big problem, but not impossible :-). Now come across on one fail (c/object file compilation) and now i dont know, how solve it. Error is followed:

error: implicit declaration of function

Here is three example files, that is needed:
File1 - Header and function in her:

$this->bbcode_second_pass_code('', '_mali_err mali_init_err(_mali_bool mali);')

File2 - source code file, with included header before code:

$this->bbcode_second_pass_code('', '
#include "mali_header.h"
_mali_err mali_init_err(_mali_bool mali)
{
if (mali == MALI_TRUE) return _mali_err_any;
}
')

File3 - any source file, with included header and passed function:

$this->bbcode_second_pass_code('', '#include "mali_header.h"
mali_error = mali_init_err(MALI_TRUE);
')

Compiling of File3 by gcc generate error: implicit declaration of function.

Is here any good people, that clarify me can?

Thanks and many properity.
kapitanf
 
Posts: 1
Joined: Thu Jul 14, 2016 11:52 am

Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 25 guests

cron