Dear all, I recently downloaded libvorbis from the Xiph.org website. I would like to compile it using a cross compiler because I would like to import it to the filesystem of an embedded machine. Hence, I tried to alter the CC of the makefile and change it to the directory of the cross compiler instead of the original gcc that was there. However, the change did not get implemented, and further to that i got this message : The file /home/murugan/Desktop/libvorbis-1.2.0/Makefile changed on disk. Do you want to reload the file? However whether i reload or do not reload, the Makefile returns to its default settings. Can anyone advice me on this? Thank you! Raji -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/vorbis/attachments/20080225/291aed3d/attachment.html
Rajalakshmi Raghavan wrote:> I recently downloaded libvorbis from the Xiph.org website. I would like to > compile it using a cross compiler because I would like to import it to the > filesystem of an embedded machine. > > Hence, I tried to alter the CC of the makefile and change it to the > directory of the cross compiler instead of the original gcc that was there.I think the way to do this is to set the CC environment variable before running ./configure export CC=/path/to/compiler ./configure Geoff.
On Mon, Feb 25, 2008 at 6:17 AM, Rajalakshmi Raghavan <raji.contactable@gmail.com> wrote:> Hence, I tried to alter the CC of the makefile and change it to the > directory of the cross compiler instead of the original gcc that was there. > However, the change did not get implemented, and further to that i got this > message : The file /home/murugan/Desktop/libvorbis-1.2.0/Makefile changed on > disk. Do you want to reload the file? > > However whether i reload or do not reload, the Makefile returns to its > default settings.You haven't told us what tools you are using, so we're blind men feeling up an elephant. But more importantly, the Ogg build system fpr most [but not all] platforms does not use Makefiles directly; the Makefile is generated by the Automake system. I don't even know if you're on an automake-aware platform. Monty
Dear all, Thank you very much for your prompt response. I did the following: Export CC= /path ./configure ?host=/path Sudo make host=/path And it worked. Now I have successfully changed the compiler to be used. However, I'm now facing a new problem. Actually, I have this machine which runs on iMx31 processor unto which I have to port my programs. I am working on the Ubuntu linux platform (which runs on the ARM processor). I have the entire source code of this machine, which is nothing but a pseudo phone (Mobile reference platform) which can be used for development of mobile applications. I am working on the multimedia application of the phone. I have a media player (Opie player) which works fine except that it doesn't play Ogg play back audio or video files. I downloaded the libvorbis files from Xiph.com and compiled and built it in the Ubuntu linux platform. After which, I added the .so files to the filesystem that was to be ported to the machine. The opie player played Ogg audio files this time however the quality for audio files of lower sample rates played poorly (too fast). I assumed there were compatibility issues, and hence now want to cross compile the libvorbis files, using the cross compiler found with the machine's source codes ? arm-linux-gcc. On trying to make, I got the following error: */usr/local/arm-codesource/bin/../lib/gcc/arm-none-linux-gnueabi/3.4.4/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -logg* *collect2: ld returned 1 exit status* Could someone advice on how to go about solving this issue? What is the logg? Is it lib ogg? Thanks alot, Raji -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/vorbis/attachments/20080226/2365a26a/attachment.htm