* Problems compiling software
@ 1998-04-15 19:48 Pablo A. Godel
1998-04-16 21:47 ` Christopher Curtis
0 siblings, 1 reply; 5+ messages in thread
From: Pablo A. Godel @ 1998-04-15 19:48 UTC (permalink / raw)
To: axp-list
Hi!
I want to compile some programs such as proftpd and ssh
I always get errors on integer definitions and sizes. Here is some
errors on the output of proftpd:
/usr/include/resourcebits.h:70: enumerator value for `_RLIMIT_NOFILE'
not intege
r constant
/usr/include/resourcebits.h:78: `RLIMIT_AS' undeclared here (not in a
function)
/usr/include/resourcebits.h:78: enumerator value for `_RLIMIT_AS' not
integer co
nstant
/usr/include/resourcebits.h:84: `RLIMIT_NPROC' undeclared here (not in a
functio
n)
/usr/include/resourcebits.h:84: enumerator value for `_RLIMIT_NPROC' not
integer
constant
/usr/include/resourcebits.h:90: `RLIMIT_MEMLOCK' undeclared here (not in
a funct
ion)
/usr/include/resourcebits.h:90: enumerator value for `_RLIMIT_MEMLOCK'
not integ
er constant
/usr/include/resourcebits.h:95: `RLIM_NLIMITS' undeclared here (not in a
functio
n)
/usr/include/resourcebits.h:95: enumerator value for `RLIMIT_NLIMITS'
not intege
r constant
main.c: In function `main_exit':
main.c:236: warning: cast from pointer to integer of different size
main.c:238: warning: cast from pointer to integer of different size
The same happens with ssh.
Any help??
Thanks
Pablo Godel
--
-----------------------------------------------
The Internation Website Construction Co. (IWCC)
http://www.iwcc.com.ar
Miami - Sao Paulo - Buenos Aires - Lima
-----------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Problems compiling software 1998-04-15 19:48 Problems compiling software Pablo A. Godel @ 1998-04-16 21:47 ` Christopher Curtis 1998-04-17 9:38 ` Booting from floppy S. Daniel 0 siblings, 1 reply; 5+ messages in thread From: Christopher Curtis @ 1998-04-16 21:47 UTC (permalink / raw) To: axp-list On Wed, 15 Apr 1998, Pablo A. Godel wrote: > /usr/include/resourcebits.h:70: enumerator value for `_RLIMIT_NOFILE' > not integer constant > /usr/include/resourcebits.h:78: `RLIMIT_AS' undeclared here (not in a function) [etc] I've written a very unofficial patch for this; it should be in the archives. Let me know if you can't find it & maybe I'll even set up a little web site. I guess Hugo has some unofficial patches for 2.0.33; it would be handy if these could be incorporated there (though I used the 2.0.32 patches on 2.0.33 just fine). regards, -- Christopher Curtis - http://www.ee.fit.edu/users/ccurtis Florida Institute of Technology - System Administrator, Programmer Melbourne, Florida USA - http://www.lp.org/ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Booting from floppy 1998-04-16 21:47 ` Christopher Curtis @ 1998-04-17 9:38 ` S. Daniel 1998-04-19 22:38 ` Andrew F. Seila 0 siblings, 1 reply; 5+ messages in thread From: S. Daniel @ 1998-04-17 9:38 UTC (permalink / raw) To: axp-list How do I get an XL300 to boot from the floppy? Is this in a FAQ somewhere? Thanks. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Booting from floppy 1998-04-17 9:38 ` Booting from floppy S. Daniel @ 1998-04-19 22:38 ` Andrew F. Seila 0 siblings, 0 replies; 5+ messages in thread From: Andrew F. Seila @ 1998-04-19 22:38 UTC (permalink / raw) To: S. Daniel; +Cc: axp-list On Fri, 17 Apr 1998, S. Daniel wrote: > How do I get an XL300 to boot from the floppy? Is this in a FAQ somewhere? > Thanks. > I setup Red Hat 5.0 just a couple of days ago, and it wasn't exactly like the instructions in the Installation Guide, but it was close. Make your three floppies - Milo, boot and root. Use the milo image xlt.img under milo/images, i.e., milo/images/xlt.img on the Red Hat 5.0 CD, the boot image images/xlt.img and the root image in images/ramdisk.img. Actually, I downloaded the latest ramdisk.img from the Red Hat 5.0 update directory. Use dd as described in the Red Hat Installation Guide to make these diskettes. Now, setup the OS selection: When you boot, press F2 to get to the AlphaBIOS setup screen. Select 'Utilities', the 'OS Selection Setup ...' In this screen, press the INSERT key to create a new OS entry. Give it a name such as "Linux Floppy". Press TAB to get to the next field. Under boot file, press '+' until you see 'A:', then press TAB to get to the next field on that line. Enter '\linload.exe' (without the single quotes). Press TAB to get to the "OS Path:" line. It doesn't matter what you put here. I pressed '+' until "Disk 0, Partition 1" was there and entered '\' (without the single quotes) for the path. That just makes sure you do not get an error when AlphaBIOS checks the paths. Do not put anything in the "OS Options" field. Put your MILO diskette into the diskette drive, then press ENTER to exit the new OS entry screen. It should test the entries. Then you press F10 to save the OS selection. Press ENTER to confirm it, then ESC twice to get to the operating system selection screen. You should see 'Linux Floppy' as one of your selections, perhaps your only selection if you have not installed Windows NT. Now, put the highlight on the 'Linux Floppy' item and (with your MILO floppy in the floppy drive) press ENTER. You should see a bunch of informational messages and after about 15 - 20 sec. you should see a MILO> prompt. Now, remove the MILO diskette and put the boot diskette in the floppy drive. Enter at the MILO> prompt: boot fd0:vmlinux.gz root=/dev/fd0 load_ramdisk=1 and press ENTER. You should see a lot of informational messages, then a bunch of hash marks, then a message to put your root floppy disk in the floppy drive. Remove the boot diskette, put in the ramdisk diskette, and press ENTER. After the ramdisk loads, you should see the Red Hat installation screen. I hope this is useful - It worked for me. The hard part was figuring out exactly what to put in the OS selection screen when the Linux Floppy OS was setup. Good luck. Andy Seila Andrew F. Seila e-mail andy@ms.cba.uga.edu Terry College of Business voice campus 706-542-4290 201 Brooks Hall fax campus 706-542-4295 The University of Georgia Athens, GA 30602-6255 ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <199804201546.LAA05651@allegro.sbs.umass.edu>]
* Re: Problems compiling software [not found] <199804201546.LAA05651@allegro.sbs.umass.edu> @ 1998-04-20 16:03 ` Christopher Curtis 0 siblings, 0 replies; 5+ messages in thread From: Christopher Curtis @ 1998-04-20 16:03 UTC (permalink / raw) To: Neil Berthier; +Cc: axp-list On Mon, 20 Apr 1998, Neil Berthier wrote: > I saw your message on the axp-list, I'm had this problem a while and have > looked all over for fixes. Can you give me a more concrete pointer to the > patch and/or tell me what's wrong? > On Wed, 15 Apr 1998, Pablo A. Godel wrote: > > > /usr/include/resourcebits.h:70: enumerator value for `_RLIMIT_NOFILE' > > not integer constant > > /usr/include/resourcebits.h:78: `RLIMIT_AS' undeclared here (not in a function) Woohoo! This demands a website. =) The fix was really simple, I'm sure I described it before, but I've put the three files on my website. http://www.ee.fit.edu/users/ccurtis/alpha/ There's pretty much everything you need to know documented, and the page is Lynx-friendly! Though it's not Netscape-hostile, it's probably not much to look at. I typically work from the cli... -- Christopher Curtis - http://www.ee.fit.edu/users/ccurtis Florida Institute of Technology - System Administrator, Programmer Melbourne, Florida USA - http://www.lp.org/ ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-04-20 16:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-15 19:48 Problems compiling software Pablo A. Godel
1998-04-16 21:47 ` Christopher Curtis
1998-04-17 9:38 ` Booting from floppy S. Daniel
1998-04-19 22:38 ` Andrew F. Seila
[not found] <199804201546.LAA05651@allegro.sbs.umass.edu>
1998-04-20 16:03 ` Problems compiling software Christopher Curtis
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox