[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

1664.0. "need help with a Makefile" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Fri Aug 11 1995 15:46

Date Of Receipt: 	 9-AUG-1995 12:50:57.34
From: 	SMURF::ALPHA::frank "Douglas Frank USG  09-Aug-1995 1249"
To: 	buildhelp@DEC:.zko.alpha
CC: 	frank@DEC:.zko.alpha
Subj: 	need help with a Makefile

Hi, I've got my sandbox backed against ptliteos.nightly, and when I build 
a modified src/usr/sbin/quotaon/quotaon and run it on a ptlite machine (greg1),
it core dumps.  When I run it on my own w.s. (flintlock, running gold) it
works fine.  The trace shows:

(dbx) t
>  0 __kill(0xb, 0x800200000000, 0x3ff804b7870, 0x3, 0x3ff804c746c) 
[0x3ff8051b298]
   1 exc_raise(0x11ffff890, 0x3ff804ab2f0, 0x3ff804ab2f8, 0x11ffff900, 0x102) 
[0x3ff8057003c]
   2 exc_raise_status(0x45586732, 0x2, 0x0, 0x0, 0x0) [0x3ff80570198]
   3 cma__error(0x0, 0x0, 0x0, 0x0, 0x3ff8057b818) [0x3ff8056fe54]
   4 (unknown)(0x6762006f72, 0x1, 0x11ffff978, 0x0, 0x0) [0x3ff8057b814]
   5 __rec_mutex_lock(0x123456789abcdef0, 0x100000000, 0x3ffc0080328, 0x503, 
0x322702c64c3) [0x3ff804b77ac]
   6 __fileno(0x49d08, 0xa92cf3027e572, 0x1000002000, 0x803400000000, 
0x3ff00000003) [0x3ff804c78d0]
   7 (unknown)(0x3ff804a97e0, 0x47fa8, 0x120014980, 0x14002bfc0, 0x2) [0x120014b
   8 getfsent_ext(0x2, 0x11ffffe88, 0x1200140c8, 0x140002800, 0x0) [0x120014a04]
   9 main(0x0, 0x171, 0x11fffff2a, 0x20fd8, 0x100000000) [0x1200140c4]

Now, the difference between my quotaon and the original in ptliteos (which runs
fine on greg1) is that call to getfsent_ext.  ("unknown" is a call to a static
func inside a library, and the rest is about trying to open a file.)  So, my
problem is this:

I am trying to build a one-module library and use it in front of libc when I
build my own quotaon.  I think I need help with the Makefile for this thing.

Where can I go?  who should I ask?

thanks a lot,

--Doug


--Doug

T.RTitleUserPersonal
Name
DateLines