View previous topic :: View next topic |
Author |
Message |
decken n00b
Joined: 12 Dec 2006 Posts: 15 Location: Wisconsin, USA
|
Posted: Mon Jul 16, 2007 5:46 am Post subject: [solved] CFLAGS and freeglut problem |
|
|
I just tried installing gentoo for the first time on stage3. Everything seems fine, except when I tried to emerge xorg-x11, it stopped on freeglut, saying I should change from mcpu to march in my CFLAGS. So, I did, but it keeps giving me the same error message about march not being specified. I've tried env-update, and emerge -eD freeglut, like some other posts I read about people with the same problem, but nothing seems to change. I'm also not entirely sure I've got it specified correctly for my CPU, which I can't find listed anywhere.
cat /proc/cpuinfo:
processor :0
Vendor ID : CyrixInstead
CPU family : 6
model : 2
model name : MII 2.5x Core/Bus Clock
Stepping : 4
cpu MHz : 250.079
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_extention : yes
cpuid level : 1
wp : yes
flags : fpu de tsc msr cx8 pge cmov mmx cyrix_arr up
bogomips : 500.74
cl flush size : 32
My CFLAGS are currently:
CFLAGS="-march=i486 -O2 -pipe -fomit-frame-pointer"
Thanks for any help you can offer.
Last edited by decken on Thu Jul 19, 2007 4:57 am; edited 1 time in total |
|
Back to top |
|
|
sethleon Guru
Joined: 14 Dec 2003 Posts: 398 Location: Germany
|
|
Back to top |
|
|
decken n00b
Joined: 12 Dec 2006 Posts: 15 Location: Wisconsin, USA
|
Posted: Mon Jul 16, 2007 3:11 pm Post subject: |
|
|
I tried that before too, but that's for the Cyrix MediaGX and mine's the Cyrix MII, which is slightly slower. I've tried it as a couple of things, but I always get the same error message that "mcpu is deprecated, try march isntead" or something along those lines. So it seems like the problem is that it's just not picking up on changes at all. |
|
Back to top |
|
|
sethleon Guru
Joined: 14 Dec 2003 Posts: 398 Location: Germany
|
Posted: Mon Jul 16, 2007 3:26 pm Post subject: |
|
|
Could you please post those lines, including previous and following lines, maybe there's a hint around that error.
Please include the output of . _________________ Mess with the best, die like the rest. |
|
Back to top |
|
|
Dralnu Veteran
Joined: 24 May 2006 Posts: 1919
|
Posted: Mon Jul 16, 2007 6:03 pm Post subject: |
|
|
You could also try mtune and see if that fixes anything. If it STILL spits out an error, then there is a good chance its jus not picking anything up (as seems to be the case anyways) _________________ The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner. |
|
Back to top |
|
|
sethleon Guru
Joined: 14 Dec 2003 Posts: 398 Location: Germany
|
Posted: Mon Jul 16, 2007 6:19 pm Post subject: |
|
|
I just asked to post the output of "emerge --info" to see, that gentoo is setting the variable correctly,
it could be that there are any escaped characters that are not resolved correctly.
Like in this Topic: https://forums.gentoo.org/viewtopic-t-560937-highlight-freeglut+mcpu.html _________________ Mess with the best, die like the rest. |
|
Back to top |
|
|
decken n00b
Joined: 12 Dec 2006 Posts: 15 Location: Wisconsin, USA
|
Posted: Mon Jul 16, 2007 7:10 pm Post subject: |
|
|
Weird, so it looks like it doesn't match my /etc/make.conf... Also, in /etc/make.conf it says my CHOST is i486, but this says i686?
Portage 2.1.2.9 (default-linux/x86/2007.0, gcc-4.1.1, glibc-2.5-r0,
2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 M II 2.5x Core/Bus Clock
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 30 Jun 2007 17:50:01 +0000
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.23b
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after --stats
--timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bitmap-fonts cli cracklib crypt cups dri fortran gdbm
gpm iconv ipv6 isdnlog libg++ midi mudflap ncurses nls nptl nptlonly
openmp pam pcre perl pppd python readline reflection session spl ssl tcpd
truetype-fonts type1-fonts unicode x86 xorg zlib" ALSA_CARDS="ali5451
als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370
ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3
trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm
alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug
ladspa lfloat linear meter mulaw multi null plug rate route share shm
softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix
dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128
radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga
trident tseng v4l vesa vga via vmware voodoo"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
|
Back to top |
|
|
sethleon Guru
Joined: 14 Dec 2003 Posts: 398 Location: Germany
|
Posted: Mon Jul 16, 2007 7:20 pm Post subject: |
|
|
What editor are you using? Try use vi (or vim). Maybe yours is setting windows escape character, which make portage not to read the make.conf line. _________________ Mess with the best, die like the rest. |
|
Back to top |
|
|
decken n00b
Joined: 12 Dec 2006 Posts: 15 Location: Wisconsin, USA
|
Posted: Mon Jul 16, 2007 7:27 pm Post subject: |
|
|
I was using nano. vim confuses me... But I will try it. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|