#2110: LPRng does not compile with recent make/gcc
--------------------+-------------------------------------------------------
 Reporter:  Moody   |        Owner:  [email protected]
     Type:  defect  |       Status:  new                           
 Priority:  normal  |    Milestone:  6.2                           
Component:  BOOK    |      Version:  SVN                           
 Severity:  normal  |   Resolution:                                
 Keywords:          |  
--------------------+-------------------------------------------------------
Comment (by [EMAIL PROTECTED]):

 for the make error, do you not have a /bin/sh link to bash?  LFS Ch 6.6. I
 am hesitant to fix this.

 The Werror, it is here: < execl(CLEAR,0); > there is no argv[0] as ther
 should be and the terminator should be NULL not 0. A sed will fix it.
 sed -i '[EMAIL PROTECTED],[EMAIL PROTECTED],CLEAR,NULL@' src/common/lpq.c
 CLEAR is defined "/usr/bin/clear".  I'm sure clear cares not if it gets an
 argv[0], but tradition says it is passed, and gcc knows it.

 I will add the sed if there are no objections.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2110>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to