On Tue, Mar 24, 2009 at 4:52 PM, Erik van Pienbroek <[email protected]>wrote:

> Op dinsdag 24-03-2009 om 16:32 uur [tijdzone +0100], schreef Zoltan
> Seress:
> > Hi,
> >
> > I tried to cross compile libogg from the libogg-1.1.3-9.fc9.src.rpm.
> > When the build finishes there is only a libogg-0.dll in bindir, and no
> > libogg*.dll.a in libdir. Is it normal? I guess not. I attached my
> > short spec file. Any help will be appreciated.
>
> Hi,
>
> This looks like a small thing which was overlooked. I see the following
> in the %install phase of the .spec file:
>
> # remove unpackaged files from the buildroot
> rm -f $RPM_BUILD_ROOT%{_mingw32_libdir}/*.la
> rm -f $RPM_BUILD_ROOT%{_mingw32_libdir}/*.a
>
> The second command also removes the .dll.a files, so that's why you
> can't find them.
>
> Regards,
>
> Erik van Pienbroek
>
>
> _______________________________________________
> fedora-mingw mailing list
> [email protected]
> https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw
>


Thanks! I guess I was a bit absent.:) libogg.dll.a is in its proper place.

But there is another concern. Next step is libvorbis and libogg is a
dependency. During the build section I got this:

/usr/i686-pc-mingw32/sys-root/mingw/lib/libogg.dll.a: could not read
symbols: Archive has no index; run ranlib to add one
collect2: ld returned 1 exit status

I tried ranlib -t /usr/i686-pc-mingw32/sys-root/mingw/lib/libogg.dll.a , but
only this happened:
ranlib: /usr/i686-pc-mingw32/sys-root/mingw/lib/libogg.dll.a: no archive map
to update

Is libogg.dll.a corrupted or what? I couldn't find any adequate answers.
Thx in advance!

-- 
Zoltan Seress
_______________________________________________
fedora-mingw mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw

Reply via email to