LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-03-2004, 08:04 PM   #1
laxi
Member
 
Registered: Jun 2003
Distribution: Linux
Posts: 48

Rep: Reputation: 15
compile error


i cant compile programes after i upgrade my slack to current
my gcc version is
PHP Code:
root@LaXi:/tmp/fcitx-2.0.0pr5# gcc -v
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.3/specs
Configured with
: ../gcc-3.3.3/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model
posix
gcc version 3.3.3 
i got a information when i compile grub
PHP Code:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=-malign-loops=-malign-functions=-Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=-DSUPPORT_HERCULES=-DFSYS_EXT2FS=-DFSYS_FAT=-DFSYS_FFS=-DFSYS_MINIX=-DFSYS_REISERFS=-DFSYS_VSTAFS=-DFSYS_JFS=-DFSYS_XFS=-DUSE_MD5_PASSWORDS=---o pre_stage2_exec-fsys_reiserfs.`test -f fsys_reiserfs.c || echo './'`fsys_reiserfs.c
cc1
warning: -malign-loops is obsolete, use -falign-loops
cc1
warning: -malign-jumps is obsolete, use -falign-jumps
cc1
warning: -malign-functions is obsolete, use -falign-functions
fsys_reiserfs
.c:115errorlongshortsigned or unsigned used invalidly for `j_mount_id'
fsys_reiserfs.c: In function 
`next_key':
fsys_reiserfs.c:761: warning: operation on `depth' 
may be undefined
make
[2]: *** [pre_stage2_exec-fsys_reiserfs.o´يخَ 1
make
[2]: Leaving directory `/tmp/grub-0.92/stage2'
make[1]: *** [all-recursive] ´يخَ 1
make[1]: Leaving directory 
`/tmp/grub-0.92'
make: *** [all] ´يخَ 2 
How shall i do with that error ?help me plz
 
Old 03-04-2004, 07:44 AM   #2
laxi
Member
 
Registered: Jun 2003
Distribution: Linux
Posts: 48

Original Poster
Rep: Reputation: 15
any ideas?
 
Old 03-05-2004, 06:27 AM   #3
laxi
Member
 
Registered: Jun 2003
Distribution: Linux
Posts: 48

Original Poster
Rep: Reputation: 15
now, i delete gcc*.pkg and reinstalled the gcc packages in slack9.1. compiling is fine ,but there are some other problems .i run some program,it
prompt me this :
Code:
/usr/lib/opera/7.23-20031119.5//opera: /usr/lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/lib/libstdc++.so.5)
how can i do with that ?
 
Old 07-01-2004, 05:26 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
try grub-0.94
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile Error Renegade498 Linux - General 3 03-24-2005 07:50 PM
compile error... apenguinlinux Programming 0 02-07-2005 05:06 AM
compile error usa1234 Linux - Software 1 10-20-2004 01:53 AM
compile error: #error unknown processor family kmack2001 Linux - Newbie 0 02-14-2004 11:52 AM
Alsa compile error, and a WINE error scheidel21 Linux - Software 1 12-08-2003 08:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration