Re: madplayer cross-compile on ARM11 compilation error "impossible constraint in 'asm'"
Jianfeng Li <[email protected]> Wed, 21 May 2008 21:05:11 +0800
| Newsgroups | gmane.comp.audio.mad.devel |
|---|---|
| Message-ID | <[email protected]> |
--_52df6d56-c1ce-458a-8fd4-016882b05e87_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit Thank you so much for your help, Rob! Regards, Jeff > From: [email protected]> To: [email protected]> Date: Sun, 18 May 2008 19:40:12 -0700> Subject: Re: [mad-dev] madplayer cross-compile on ARM11 compilation error "impossible constraint in 'asm'"> > On May 18, 2008, at 12:33 AM, Jianfeng Li wrote:> > I am now trying to cross-compile the madplayer on an arm11 based > > embedded system. The compiler I am using is from montavista > > mobilinux 5.0.> >> > When I tried to build the madplay, for the file resample.c, I got 2 > > errors on line 89 and 104. The error information is "impossible > > constraint in 'asm'. When I tried to build the libmad, I also met > > the same error. But it seems that during compilation if "FPM-ARM" > > option is enabled then the error is solved. But here I checked the > > Makefile, there is no such option of "FPM" a s in the Makefile of > > libmad.> >> > So can anybody help to tell me why this error happens, it is due to > > the compiler's constraint/requirement? How should I try to solve > > this erro! r? Is "trying to enable the FPM" a good option to try?> > Running the libmad `configure' script is the usual way to cause an > appropriate FPM macro to be defined. You can force the selection using > the --enable-fpm option (e.g. --enable-fpm=arm) in case the > automatically chosen default is inappropriate for some reason.> > Note that the FPM selection is carried into the mad.h header file > which is used by madplay et al. When cross-compiling, the resulting > mad.h could be different from the build system's mad.h so it's > important to check your include paths.> > -- > Rob Leslie> [email protected]> _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us --_52df6d56-c1ce-458a-8fd4-016882b05e87_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: 8bit <html> <head> <style> .hmmessage P { margin:0px; padding:0px } body.hmmessage { FONT-SIZE: 10pt; FONT-FAMILY:Tahoma } </style> </head> <body class='hmmessage'>Thank you so much for your help, Rob!<BR> <BR> Regards,<BR> Jeff<BR><BR><BR><BR><BR> <HR id=stopSpelling> <BR> > From: [email protected]<BR>> To: [email protected]<BR>> Date: Sun, 18 May 2008 19:40:12 -0700<BR>> Subject: Re: [mad-dev] madplayer cross-compile on ARM11 compilation error "impossible constraint in 'asm'"<BR>> <BR>> On May 18, 2008, at 12:33 AM, Jianfeng Li wrote:<BR>> > I am now trying to cross-compile the madplayer on an arm11 based <BR>> > embedded system. The compiler I am using is from montavista <BR>> > mobilinux 5.0.<BR>> ><BR>> > When I tried to build the madplay, for the file resample.c, I got 2 <BR>> > errors on line 89 and 104. The error information is "impossible <BR>> > constraint in 'asm'. When I tried to build the libmad, I also met <BR>> > the same error. But it seems that during compilation if "FPM-ARM" < BR>> > option is enabled then the error is solved. But here I checked the <BR>> > Makefile, there is no such option of "FPM" as in the Makefile of <BR>> > libmad.<BR>> ! ><BR>> > So can anybody help to tell me why this error happens, it is due to <BR>> > the compiler's constraint/requirement? How should I try to solve <BR>> > this error? Is "trying to enable the FPM" a good option to try?<BR>> <BR>> Running the libmad `configure' script is the usual way to cause an <BR>> appropriate FPM macro to be defined. You can force the selection using <BR>> the --enable-fpm option (e.g. --enable-fpm=arm) in case the <BR>> automatically chosen default is inappropriate for some reason.<BR>> <BR>> Note that the FPM selection is carried into the mad.h header file <BR>> which is used by madplay et al. When cross-compiling, the resulting <BR>> mad.h could be different from the build system's mad.h so it's <BR>> important to check your include paths.<BR>> <BR>> -- <BR>> Rob Leslie<BR>> [email protected]<BR>> <BR><BR><br /><hr />Invite your mail contacts to join your friends list with Windows Live S! paces. It's easy! <a href='http://spaces.live.com/spacesapi.aspx?wx_ac tion=create&wx_url=/friends.aspx&mkt=en-us' target='_new'>Try it!</a></body> </html> --_52df6d56-c1ce-458a-8fd4-016882b05e87_--