Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: Rich on May 04, 2021, 05:10:22 PM

Title: gcc error, possible missing dependency
Post by: Rich 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
Title: Re: gcc error, possible missing dependency
Post by: rullolex 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
Title: Re: gcc error, possible missing dependency
Post by: bmarkus on May 05, 2021, 02:04:37 AM
Thanks for reporting, I will check it.
Title: Re: gcc error, possible missing dependency
Post by: Rich 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.
Title: Re: gcc error, possible missing dependency
Post by: Paul_123 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.
Title: Re: gcc error, possible missing dependency
Post by: Rich 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. :)
Title: Re: gcc error, possible missing dependency
Post by: rullolex 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.

Title: Re: gcc error, possible missing dependency
Post by: Rich 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?
Title: Re: gcc error, possible missing dependency
Post by: rullolex 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
Title: Re: gcc error, possible missing dependency
Post by: rullolex 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
Title: Re: gcc error, possible missing dependency
Post by: Rich on May 05, 2021, 10:31:51 AM
Hi rullolex
Thank you. :)
Title: Re: gcc error, possible missing dependency
Post by: rullolex on May 05, 2021, 10:37:59 AM
Hi Rich,

Hi rullolex
Thank you. :)

isl-tcz is enough
Title: Re: gcc error, possible missing dependency
Post by: Rich on May 05, 2021, 10:49:19 AM
Hi rullolex
Thank you for confirming that.
Title: Re: gcc error, possible missing dependency
Post by: rullolex 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.
Title: Re: gcc error, possible missing dependency
Post by: Rich on May 05, 2021, 12:26:28 PM
Hi rullolex
Unless bmarkus decides otherwise, I would say yes.
Title: Re: gcc error, possible missing dependency
Post by: rullolex on May 05, 2021, 12:50:29 PM
Hi Rich,

Ok, I wait bmarkus for the final decision.

Thank you
Title: Re: gcc error, possible missing dependency
Post by: bmarkus on May 09, 2021, 12:48:51 AM
Hi, thanks for reporting. isl.tcz is added to gcc.tcz.dep