> CFLAGS="-m32 $(CFLAGS)" LDFLAGS="-L/usr/lib32 $(LDFLAGS)" ./configure Did you follow the steps on WineOn64bit page? http://wiki.winehq.org/WineOn64bit Your CFALGS and LDFLAGS don't look correct. $(...) is command substitution, similar to `...` in bash: http://www.gnu.org/software/bash/manual/bashref.html#Command-Substitution You probably want something more like: CFLAGS="-m32 ${CFLAGS}" LDFLAGS="-L/usr/lib32 ${LDFLAGS}" ./configure --verbose Again, using bash, ${...} is a parameter expansion, not a command substitution.