Re: [KJ] Question re make

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08.10.2005 [20:08:03 +0100], Felix Oxley wrote:
> 
> > You are "make"ing an object file, not a .c file. Makefiles' syntax is
> > for the target, not the source.
> >
> > make drivers/telephony/ixj.o
> >
> I had tried this all ready and forgot to mention it, but it didn't work at the 
> time.

Were you trying to build ixj as a module? You might have needed

make drivers/telephony/ixj.ko

Not sure, though.

> > Please read the Makefile before posting.
> >
> Which file should I read?

The top-level Makefile gives a good overview of available
targets/syntax. The drivers/telephony/Makefile probably has some
indication of available targets specific to that directory.

> > make M=drivers/telephony
> >
> 
> This does the trick!

Great!

> > > and
> > >         # cc driver/telephony/ixj.cjust gives hundreds of errors.
> >
> > This is just plain silly and why we have a Makefile system in the first
> > place.
> >
> I know, but  I was just trying to exaplan all the methods I had tried.
> I think I must have cocked something up before but it is better now.

Glad you got it figured out.

Thanks,
Nish

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux