Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trouble compiling silo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
mondauge
l33t
l33t


Joined: 08 Jan 2003
Posts: 603
Location: Schwetzingen, Germany

PostPosted: Mon Apr 18, 2005 1:25 pm    Post subject: Trouble compiling silo Reply with quote

Hi guys,

I'm nearly finished with my Gentoo Installation on an old Ultra 5. After several issues I just need to get silo up and running but compiling fails with the following message:
Code:
gcc -m32 -Os -Wall -I. -I../include -fomit-frame-pointer -fno-strict-aliasing -DSMALL_RELOC=0x280000 -DLARGE_RELOC=0x380000 -c ls.c -o ls.o
In file included from /usr/include/asm/system.h:3,
                 from /usr/include/linux/list.h:6,
                 from /usr/include/linux/wait.h:12,
                 from /usr/include/linux/fs.h:12,
                 from /usr/include/linux/ufs_fs.h:37,
                 from fs/ufs.c:36:
/usr/include/asm-sparc/system.h:24: error: conflicting types for `sun4'
../include/promlib.h:12: error: previous declaration of `sun4'
/usr/include/asm-sparc/system.h:25: error: conflicting types for `sun4c'
../include/promlib.h:12: error: previous declaration of `sun4c'
/usr/include/asm-sparc/system.h:26: error: conflicting types for `sun4m'
../include/promlib.h:12: error: previous declaration of `sun4m'
/usr/include/asm-sparc/system.h:27: error: conflicting types for `sun4d'
../include/promlib.h:12: error: previous declaration of `sun4d'
/usr/include/asm-sparc/system.h:28: error: conflicting types for `sun4e'
../include/promlib.h:12: error: previous declaration of `sun4e'
/usr/include/asm-sparc/system.h:29: error: conflicting types for `sun4u'
../include/promlib.h:12: error: previous declaration of `sun4u'
gcc -m32 -Os -Wall -I. -I../include -fomit-frame-pointer -fno-strict-aliasing -DSMALL_RELOC=0x280000 -DLARGE_RELOC=0x380000 -c muldi3.S -o muldi3.o
gcc -m32 -Os -Wall -I. -I../include -fomit-frame-pointer -fno-strict-aliasing -DSMALL_RELOC=0x280000 -DLARGE_RELOC=0x380000 -c mark.S -o mark.o
gcc -m32 -DSMALL_RELOC=0x280000 -DLARGE_RELOC=0x380000 -o util util.c
make[1]: *** [fs/ufs.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/silo-1.4.8/work/silo-1.4.8/second

Hope someone can help,
mondauge
Back to top
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Mon Apr 18, 2005 3:08 pm    Post subject: Reply with quote

have you checked https://bugs.gentoo.org/ ?
Back to top
View user's profile Send private message
mondauge
l33t
l33t


Joined: 08 Jan 2003
Posts: 603
Location: Schwetzingen, Germany

PostPosted: Mon Apr 18, 2005 3:48 pm    Post subject: Reply with quote

fctk wrote:
have you checked https://bugs.gentoo.org/ ?

As a matter of fact I haven't... shame on me, but thanks for the pointer in the right direction :oops:
mondauge
Back to top
View user's profile Send private message
davobe
n00b
n00b


Joined: 03 Oct 2003
Posts: 25

PostPosted: Fri Aug 03, 2007 3:44 pm    Post subject: Reply with quote

Gentoo Bug 187560
RESOLVED WONTFIX
Upgrade to 2.6 headers/kernel, 2.4 is going away/unsupported.
Back to top
View user's profile Send private message
NetrixTardis
n00b
n00b


Joined: 21 Sep 2004
Posts: 12
Location: Selma, TX

PostPosted: Fri Aug 03, 2007 10:54 pm    Post subject: Reply with quote

seems that 2.4 (and hence sparc-sources) is now unsupported...
I opened that bug report. guess i'm not going to waste the next few days compiling/upgrading my Ultra1 167mhz to 2.6.
Back to top
View user's profile Send private message
davobe
n00b
n00b


Joined: 03 Oct 2003
Posts: 25

PostPosted: Tue Aug 07, 2007 11:24 pm    Post subject: Reply with quote

I am in a similar boat. I have three Ultra 2E's happily running web services on the 2.4 kernel. I have recently updated world with only silo being a problem. Someday I will likely make the effort to upgrade to 2.6. Silo alone doesn't motivate me.
Back to top
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Wed Aug 08, 2007 2:21 pm    Post subject: Reply with quote

2.6 is better maintained these days compared to 2.4. This means security bugs too.
The 2.4-supporting profiles will go away when 2007.1 ships, and we won't work on solving 2.4-related bugs either at this point (thus the resolution being "upgrade").
Also note that 2.6 kernels are generally more responsive and faster than 2.4 on the same hardware.
_________________
Gustavo Zacarias
Gentoo/SPARC monkey
Back to top
View user's profile Send private message
NetrixTardis
n00b
n00b


Joined: 21 Sep 2004
Posts: 12
Location: Selma, TX

PostPosted: Fri Aug 10, 2007 12:57 am    Post subject: Reply with quote

and i'm sure some of us do understand that. i'm running the last profile that supports the 2.4 kernel. but to be honest, my Ultra1 runs NTP, Leafnode, and a couple of other "network" services. it isn't even publicly accessible anyways. now, get a better idea of this, Ultra1 167mhz 128mb RAM - a kernel compile of 2.4.x takes me 12+hours. i'm absolutly lazy to not waste a couple of hours to config a 2.6 kernel... spend the next 12+hours compiling, and then finding something i missed. i took me a couple of attempts to get a 2.4 kernel config that i was quite satisfied with. I will not waste my precious little time with 2.6 until i have to re-install. (if i have to consider that option - i will rather go work my my 02 Trans Am in my garage)

NetrixTardis
Back to top
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Fri Aug 10, 2007 12:40 pm    Post subject: Reply with quote

You can just use the InstallCD kernel, it has all the drivers needed to boot/work and goodies like netfilter in modules.
Also you can use it's config easily via /proc/config.gz to build your own.
I'm not saying that you should, if 2.4 is working for you then that's fine too, it's more of a general "rant" about people not being able to get a proper config working (and one being easily available under their noses), usually on new installs :-)
_________________
Gustavo Zacarias
Gentoo/SPARC monkey
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
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