Skip to contentSkip to conversation

make hpt37xx fails

DISCUSSION Felix Miata 2 participants 2 messages Apr 9, 2004 MD RAID

lore
Share & tools
lore
#0 lore raw

Windoze is already installed on the motherboard ataraid (hde/hdg) on a Soyo KT400 Dragon black. I've installed Mandrake 10 on /dev/hde, which Mandrake thinks is /dev/hda. I compiled a kernel without native hpt37xx driver. I downloaded the hpt driver source
http://www.highpoint-tech.com/BIOS%20%2B%20Driver/hpt372/Linux/hpt3xx-opensource-v1.35.tgz.
In it, the readme file says to:

# make KERNELDIR=/usr/src/linux-2.6.3-7mdk

When I do this, a bunch of messages scroll, ending with:

hpt.c:4824: warning: data definition has no type or storage class hpt.c:4753: warning: `hpt_scsi_unregister_module' defined but not used
make: *** [hpt.o] Error 1

What does this mean? How do I fix it? Where is this info scrolled off the screen too fast to read logged for later inspection?

Signature · 6 lines
"Each one should use whatever gift he has received to serve others..."
                                                1 Peter 4:10 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://members.ij.net/mrmazda/
#1 lore raw

At 4/9/2004 02:58 PM -0400, Felix Miata wrote (in part):

Quoted 3 lines
# make KERNELDIR=/usr/src/linux-2.6.3-7mdk

When I do this, a bunch of messages scroll, ending with:

Sorry, but I don't have an answer for your hard questions. However:

Quoted 1 line

Where is this info scrolled off the screen too fast to read logged for later inspection?

It's not saved (unless you happen to be using some console/terminal/whatever that logs. Try (assuming you're using bash or similar):

make
KERNELDIR=/usr/src/linux-2.6.3-7mdk >some-output-filename-you-like 2>&1

or

        make KERNELDIR=/usr/src/linux-2.6.3-7mdk 2>&1 |less

The first instance redirects stdout to a file and then redirects stderr to stdout. The second redirects stderr to stdout and then pipes both to less to allow you to scroll around and/or save the result. If you don't want or need stderr output with stdout then just omit the "2>&1" or even replace it with "2>/dev/null" to throw it away.

--
Jeff Woods <[email protected]>