WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: gcc error, possible missing dependency  (Read 3746 times)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11719
gcc error, possible missing dependency
« on: May 04, 2021, 05:10:22 PM »
Hi bmarkus
While trying to compile  PicFormat  for  piCore 13, one of our forum members reported a compiler error involving
libisl.so  to me. Looking through the repo, I see  gcc.tcz  listed it as a dependency in  piCore 11:
Code: [Select]
gcc.tcz
   isl.tcz
      gmp.tcz
   mpc.tcz
      mpfr.tcz
         gmp.tcz
Found here:
http://tinycorelinux.net/11.x/armv7/tcz/gcc.tcz.tree

In piCore 12 and 13 the dependency no longer shows up:
Code: [Select]
gcc.tcz
   mpc.tcz
      mpfr.tcz
         gmp.tcz
   zstd.tcz
      liblzma.tcz
      liblz4.tcz
Found here:
http://tinycorelinux.net/12.x/armv7/tcz/gcc.tcz.tree
http://tinycorelinux.net/13.x/armv7/tcz/gcc.tcz.tree

Offline rullolex

  • Full Member
  • ***
  • Posts: 134
    • Rullolex
Re: gcc error, possible missing dependency
« Reply #1 on: May 05, 2021, 01:53:29 AM »
Hi,

The extension I have load is isl-dev.tcz to avoid the errore.

I will try to report all the error later

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: gcc error, possible missing dependency
« Reply #2 on: May 05, 2021, 02:04:37 AM »
Thanks for reporting, I will check it.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11719
Re: gcc error, possible missing dependency
« Reply #3 on: May 05, 2021, 08:48:40 AM »
Hi rullolex
Are you sure just loading  isl.tcz  doesn't fix it? PicFormat  does not rely on  libisl.so.

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1274
Re: gcc error, possible missing dependency
« Reply #4 on: May 05, 2021, 09:06:17 AM »
isl-dev is typically just needed for compiling.   The program being compiled rarely would depend on isl.tcz.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11719
Re: gcc error, possible missing dependency
« Reply #5 on: May 05, 2021, 09:25:35 AM »
Hi Paul_123
I only questioned  isl.tcz  vs.  isl-dev.tcz  because previous versions of  gcc.tcz  only listed  isl.tcz  as a dependency.
This is true for piCore 6 through 11 both armv6 and armv7. Not arguing, just stating what I found. :)

Offline rullolex

  • Full Member
  • ***
  • Posts: 134
    • Rullolex
Re: gcc error, possible missing dependency
« Reply #6 on: May 05, 2021, 10:11:22 AM »
Hi,

I attach the full error the word gcc that i mark bold was red.
That is what I have done:

Code: [Select]
tce-load -i compiletc
tce-load -i imlib2-dev
./CompilePicFormat

and I had the error.

I have searched in the App Browser a tcz with isl name and I have find isl.tcz and isl-dev.tcz I download and after load isl-dev.tcz and run again
Code: [Select]
./CompilePicFormat and the compiling goes well.


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11719
Re: gcc error, possible missing dependency
« Reply #7 on: May 05, 2021, 10:18:45 AM »
Hi rullolex
So the error is that it can't find  libisl.so.15.  That library is provided by  isl.tcz.
If you load  isl.tcz  instead of  isl-dev.tcz , does the compiling still go well?

Offline rullolex

  • Full Member
  • ***
  • Posts: 134
    • Rullolex
Re: gcc error, possible missing dependency
« Reply #8 on: May 05, 2021, 10:22:41 AM »
Hi Rich,

Hi Paul_123
I only questioned  isl.tcz  vs.  isl-dev.tcz  because previous versions of  gcc.tcz  only listed  isl.tcz  as a dependency.
This is true for piCore 6 through 11 both armv6 and armv7. Not arguing, just stating what I found. :)

loading isl-dev, isl is loaded to, so I don't know which one is needed

Offline rullolex

  • Full Member
  • ***
  • Posts: 134
    • Rullolex
Re: gcc error, possible missing dependency
« Reply #9 on: May 05, 2021, 10:26:33 AM »
Hi Rich,

Hi rullolex
So the error is that it can't find  libisl.so.15.  That library is provided by  isl.tcz.
If you load  isl.tcz  instead of  isl-dev.tcz , does the compiling still go well?

I try again with only isl.tcz and report it

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11719
Re: gcc error, possible missing dependency
« Reply #10 on: May 05, 2021, 10:31:51 AM »
Hi rullolex
Thank you. :)

Offline rullolex

  • Full Member
  • ***
  • Posts: 134
    • Rullolex
Re: gcc error, possible missing dependency
« Reply #11 on: May 05, 2021, 10:37:59 AM »
Hi Rich,

Hi rullolex
Thank you. :)

isl-tcz is enough

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11719
Re: gcc error, possible missing dependency
« Reply #12 on: May 05, 2021, 10:49:19 AM »
Hi rullolex
Thank you for confirming that.

Offline rullolex

  • Full Member
  • ***
  • Posts: 134
    • Rullolex
Re: gcc error, possible missing dependency
« Reply #13 on: May 05, 2021, 11:01:52 AM »
Hi Rich,

only for more confirmation I have compiled mtPaint to and only isl.tcz is enough.

I have a question, I have to had isl.tcz to the gcc.tcz.dep file? is it correct

Hi rullolex
Thank you for confirming that.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11719
Re: gcc error, possible missing dependency
« Reply #14 on: May 05, 2021, 12:26:28 PM »
Hi rullolex
Unless bmarkus decides otherwise, I would say yes.