Jump to content

Recommended Posts

Posted

Hi,

 

I am unable to build any images for orangepi SOCs specifically orangepilite, orangepilite2 and one plus. Always returned error halfeway. Following is a sample of log when I compile image for orange pi lite. Please me some guidance on how to resolve this. My steps: run sudo compile.sh -- "Do no tchnage the kernel..." --> "orangepilite"--> either current or legacy --> either "buster" -->"Image with console inter..." -->"Standard image with ..."compilation.log

Quote


CC [M]  drivers/hwmon/tmp102.o
  CC [M]  drivers/hwmon/tmp103.o
  CC [M]  drivers/hwmon/tmp401.o
  CC [M]  drivers/hwmon/tmp421.o
  CC [M]  drivers/hwmon/tmp513.o
  CC [M]  drivers/hwmon/vt1211.o
  CC [M]  drivers/hwmon/w83627ehf.o
  CC [M]  drivers/hwmon/w83l785ts.o
  CC [M]  drivers/hwmon/w83l786ng.o
  AR      drivers/hwmon/built-in.a
scripts/sign-file.c: In function ‘display_openssl_errors’:
scripts/sign-file.c:89:9: warning: ‘ERR_get_error_line’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   89 |         while ((e = ERR_get_error_line(&file, &line))) {
  411 | unsigned long ERR_get_error_line(const char **file, int *line);
scripts/sign-file.c: In function ‘drain_openssl_errors’:
scripts/sign-file.c:102:9: warning: ‘ERR_get_error_line’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  102 |         while (ERR_get_error_line(&file, &line)) {}
  411 | unsigned long ERR_get_error_line(const char **file, int *line);
scripts/extract-cert.c: In function ‘display_openssl_errors’:
scripts/extract-cert.c:46:9: warning: ‘ERR_get_error_line’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   46 |         while ((e = ERR_get_error_line(&file, &line))) {
  411 | unsigned long ERR_get_error_line(const char **file, int *line);
scripts/extract-cert.c: In function ‘drain_openssl_errors’:
scripts/extract-cert.c:59:9: warning: ‘ERR_get_error_line’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   59 |         while (ERR_get_error_line(&file, &line)) {}
  411 | unsigned long ERR_get_error_line(const char **file, int *line);
drivers/power/supply/axp20x_battery.c:292:10: error: implicit declaration of function ‘axp20x_get_ocv_voltage’; did you mean ‘axp20x_battery_get_max_voltage’? [-Werror=implicit-function-declaration]
drivers/power/supply/axp20x_battery.c:307:7: error: ‘info’ undeclared (first use in this function); did you mean ‘int’?
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:280: drivers/power/supply/axp20x_battery.o] Error 1
make[2]: *** [scripts/Makefile.build:497: drivers/power/supply] Error 2
make[1]: *** [scripts/Makefile.build:497: drivers/power] Error 2
make: *** [Makefile:1824: drivers] Error 2
[ error ] ERROR in function compile_kernel [ main.sh:589 -> main.sh:490 -> compilation.sh:507 -> general.sh:0 ]
[ error ] Kernel was not built [ @host ]
[ o.k. ] Process terminated 

 

 

Posted
12 hours ago, lanefu said:

for current use `AUFS=no` and it should build..  ran into that yesterday

Thank you. This option solved the problem if I choose "current" branch. However, if I chose "legacy" branch (because I need to build 21.08/5.10.60-sunxi), I hit the same problem again. 

Posted
2 hours ago, Felix said:

I hit the same problem again. 

 

Bug was introduced with last upstream kernel changes and was reported by several people, including you. With free support, this is it. With paid support - its holiday.

Posted
1 hour ago, Igor said:

 

Bug was introduced with last upstream kernel changes and was reported by several people, including you. With free support, this is it. With paid support - its holiday.

yeah, just saw the other threads that had similar problems. no problem, I could stick to the old version. Thanks for all the great efforts and dedications .. have a good weekend

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines