[Clfs-dev] CBLFS - net-snmp - compile error (32bit)

Andrew Rowland weibullguy at charter.net
Wed Sep 10 20:16:35 PDT 2008


On Wed, 2008-09-10 at 14:35 +1000, db m wrote:
> Greets,
> 
> Relative to the upcoming CLFS 1.1.0 release multilib build
> 
> See attachment for details....
> 
> ----
> 
> 32bit ;
> 
> Command block reads ;
>  
> CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
> PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \
> ./configure --prefix=/usr &&
> make

Confirmed error on 1.1.0 system.

> ----
> 
> The following command block gets it right....
> 
> ----
> 
> export USE_ARCH=32
> CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
> PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \
> ./configure --prefix=/usr &&
> make

Confirmed solution, except second, redundant USE_ARCH-32 is not
required, on 1.1.0 system and updated Wiki.

> ----
> 
> We would of course issue a   'unset USE_ARCH'   at the end of
> the installation command block.

It is a Wiki and open to the community for editing.  Feel free to make
changes.  The fine we impose for making an error is usually pretty
nominal ;).

> 64bit works correctly without such alterations.
> 
> Regards,
> 
> Don
> 
> 
> ______________________________________________________________________
> Play now to win prizes for you and your friends! Are you a friend
> magnet?
> _______________________________________________
> Clfs-dev mailing list
> Clfs-dev at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org




More information about the Clfs-dev mailing list