* [Buildroot] building opencv-2.4 using buildroot
@ 2016-05-21 1:26 Doha Ehab
2016-05-21 6:54 ` Samuel Martin
0 siblings, 1 reply; 3+ messages in thread
From: Doha Ehab @ 2016-05-21 1:26 UTC (permalink / raw)
To: buildroot
Hello
I am trying to build opencv-2.4 for arm using buildroot-2015.08.01 from
build options ->libraries I have chosen static libraries only . when I try
to compile opencv code using the following command :
" buildroot/output/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-gcc
-static ocv.c -o ocvccode "
I got this error
buildroot/output/host/usr/lib/gcc/arm-buildroot-linux-uclibcgnueabi/4.9.3/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld:
cannot find -ldl
collect2: error: ld returned 1 exit status
how can I solve this linking issue?
Regards
Doha.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160521/030ffe49/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] building opencv-2.4 using buildroot
2016-05-21 1:26 [Buildroot] building opencv-2.4 using buildroot Doha Ehab
@ 2016-05-21 6:54 ` Samuel Martin
2016-05-21 20:25 ` Doha Ehab
0 siblings, 1 reply; 3+ messages in thread
From: Samuel Martin @ 2016-05-21 6:54 UTC (permalink / raw)
To: buildroot
Hi,
On Sat, May 21, 2016 at 3:26 AM, Doha Ehab <dohaehab@gmail.com> wrote:
> Hello
> I am trying to build opencv-2.4 for arm using buildroot-2015.08.01 from
> build options ->libraries I have chosen static libraries only . when I try
> to compile opencv code using the following command :
> " buildroot/output/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-gcc
> -static ocv.c -o ocvccode "
>
> I got this error
> buildroot/output/host/usr/lib/gcc/arm-buildroot-linux-uclibcgnueabi/4.9.3/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld:
> cannot find -ldl
> collect2: error: ld returned 1 exit status
>
> how can I solve this linking issue?
Some OpenCV modules cannot be built in a static-lib-only configuration.
A patch [1] fixing this issue has been merged recently on master.
[1] https://github.com/buildroot/buildroot/commit/07144093d4fd0d5c6f59006a0e58fd5074da0f92
Regards,
--
Samuel
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] building opencv-2.4 using buildroot
2016-05-21 6:54 ` Samuel Martin
@ 2016-05-21 20:25 ` Doha Ehab
0 siblings, 0 replies; 3+ messages in thread
From: Doha Ehab @ 2016-05-21 20:25 UTC (permalink / raw)
To: buildroot
Hi
I downloaded the while buildroot zip from here :
https://github.com/buildroot/buildroot.git
after 'make' then using the same command it didn't work , same error. is
there is something i am missing ?
Regards
Doha
On Sat, May 21, 2016 at 8:54 AM, Samuel Martin <s.martin49@gmail.com> wrote:
> Hi,
>
> On Sat, May 21, 2016 at 3:26 AM, Doha Ehab <dohaehab@gmail.com> wrote:
> > Hello
> > I am trying to build opencv-2.4 for arm using buildroot-2015.08.01 from
> > build options ->libraries I have chosen static libraries only . when I
> try
> > to compile opencv code using the following command :
> > " buildroot/output/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-gcc
> > -static ocv.c -o ocvccode "
> >
> > I got this error
> >
> buildroot/output/host/usr/lib/gcc/arm-buildroot-linux-uclibcgnueabi/4.9.3/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld:
> > cannot find -ldl
> > collect2: error: ld returned 1 exit status
> >
> > how can I solve this linking issue?
>
> Some OpenCV modules cannot be built in a static-lib-only configuration.
>
> A patch [1] fixing this issue has been merged recently on master.
>
> [1]
> https://github.com/buildroot/buildroot/commit/07144093d4fd0d5c6f59006a0e58fd5074da0f92
>
> Regards,
>
> --
> Samuel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160521/3735ad56/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-05-21 20:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-21 1:26 [Buildroot] building opencv-2.4 using buildroot Doha Ehab
2016-05-21 6:54 ` Samuel Martin
2016-05-21 20:25 ` Doha Ehab
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.