kernel 1.3.94 Makefile problem

kernel 1.3.94 Makefile problem

Post by Waleed H Meban » Sat, 27 Apr 1996 04:00:00



I recently compiled the version 1.3.94 kernel.  Previously I had version
1.2.1 from Slackware 2.2 distribution.  To compile it I had to upgrade my
ld.so and gcc.  I got these from the development disks of the slackware
distribution at ftp://sunsite.unc.edu/pub/Linux/distributions/slackware/
slakware/d* so that I would not have to worry about version problems between
gcc, binutils and libc.

Everything compiled fine, but the problem is that once I rebooted with
the new kernel image I could no long use make.

If for instance I typed "make dep" I got the following error:

make: *** No rule to make target 'dep'.  Stop.

If I simply type "make" I get the following error:

make: *** No targets specified and no makefile found.  Stop.

I tried renaming the file from Makefile to makefile.  When I did this it
worked but stopped when it referenced Makefiles in lower level
directories or if it was for a single directory project it stopped if it
referenced any other Makefiles.

Typing the following causes it to work for single directory projects:

sed 's/Makefile/makefile/g' Makefile > makefile

This might also work for multiple directory projects if I did that to all
of the Makefiles, but the clincher is that it would only work once and
would then give me the errors listed above on subsequent makes.

The only consistent fix was to use make -f Makefile to compile, but it is
cumbersome and only works for single directory projects.

Finally, the entire problem goes away if I restore my old kernel image.

---> Additional information.

When installing ld.so and the development packages I used pkgtool to
remove the old packages.

When I was done installing I found that gcc would not run, giving the
following error message:

gcc: can not load '/lib/libc.so.5'

I was surprised since I got all of the development tools from the
Slackware disks.  I tried making a symlink libc.so.5 -> libc.so.4.7.2.  
When that didn't work I downloaded libc-5.3.9 and installed it after
removing the libc package with pkgtool.  Then I created the symlink
libc.so.5 -> libc.so.5.3.9.  That worked, but could it possibly have had
undesirable consequences?

Thanks for any help you can give on this.

Waleed

 
 
 

kernel 1.3.94 Makefile problem

Post by Waleed H Meban » Sun, 28 Apr 1996 04:00:00



> Did you recently upgrade the libc?  The newer libc breaks make.
> Get the new make.

> Vik

Thanks!

Yes, I did just install libc 5.3.9.

Installing make-3.74-direntfix-elf.tgz fixed my problem.

Waleed


 
 
 

kernel 1.3.94 Makefile problem

Post by B.A.McCau.. » Tue, 30 Apr 1996 04:00:00



Quote:>make: *** No targets specified and no makefile found.  Stop.
...
>The only consistent fix was to use make -f Makefile to compile, but it is
>cumbersome and only works for single directory projects.

When ugrading your LIBC, read the release notes! The bug in make is
explained and a fix is provided.

--

 .  _\\__[oo       from       | Phones: +44 121 471 3789 (home)

.  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
 # ll  l\\  ~~~~ ~   ~ ~    ~ | http://wcl-l.bham.ac.uk/~bam/

 
 
 

kernel 1.3.94 Makefile problem

Post by Arthur D. Jeriji » Thu, 02 May 1996 04:00:00




>> Did you recently upgrade the libc?  The newer libc breaks make.
>> Get the new make.

>> Vik

>Thanks!

>Yes, I did just install libc 5.3.9.

        Please upgrade to libc-5.3.12.  It fixes a serious rhosts
security hole.

>Installing make-3.74-direntfix-elf.tgz fixed my problem.

>Waleed


Arthur D. Jerijian   \  The opinions expressed in this message are mine
One man, one sinner   \  only, and not UCLA's.


 
 
 

1. libc 5.3.9, POSIX, & Kernel 1.3.94

I have been working on installing libc 5.3.9.  After writing a small test
program I discovered that POSIX_VERSION returns 199309 which means that this
library is POSIX.4 complient.  So I wrote another test program to check the
kernel, this program uses the sysconf call to tell about the operation systems
options.  It (as expected) returned 199009 meaning the the kernel only speaks
POSIX.1.  I recompiled the kernel with the new libraries and it still returns
POSIX.1 complience.  

How do I tell the kernel the recompile and use the pthreads in the new libc?

Also, after the compile one of my modules now generates a BUNCH of missing
symbol errors, and after recompiling it with the new kernel and libc it still
cannot find the symbols.  Ideas?


Applied Technologies Inc.
Boulder Colorado.

2. (e)grep - multiple hits in one file

3. pppd using kernel 1.3.94

4. networking & cable modem problem

5. Kernel Change Summary 1.3.94

6. Can't run X as user...

7. tar hang at 1.3.94

8. Enlightenment installation

9. talk & rusers Linux 1.2.13 Or 1.3.94

10. ftape with 1.3.94

11. DRAM problem (kernel 1.1.94) - Please help!!!

12. Problems while compiling kernel 1.1.93 und 1.1.94