GNOME library compile problems

Richard Lightman richard at reika.demon.co.uk
Thu Jun 28 23:50:28 PDT 2001


Misquoted from J_Man on 2001/06/28 at 11:05 +0000:
> Doing this before configure doesn't seem to help...I still get the same error, so tried it after the configure, and get:
> 
> ppp.c: In function `get_ISDN_stats':
> ppp.c:59: `$imc' undeclared (first use in this function)
> ppp.c:59: (Each undeclared identifier is reported only once
> ppp.c:59: for each function it appears in.)
> 
> I am extremely puzzled by this problem....Surely most people don't have this much trouble getting GNOME to compile up

Oops. My scripts do one extra layer of text substitutions,
and I did not delete enough \'s before posting. All this
does is find out what the kernel sets ISDN_MAX_CHANNELS
to, and inserts that into sysdeps/linux/ppp.c:

mv sysdeps/linux/ppp.c sysdeps/linux/ppp.c~
imc=$(cpp -dM -D__KERNEL__ /usr/include/linux/isdn.h | awk '/#define ISDN_MAX_CHANNELS/ {print $3}')
awk '/linux\/isdn\.h/ {print "#define ISDN_MAX_CHANNELS '$imc'"} {print}'\
  >sysdeps/linux/ppp.c sysdeps/linux/ppp.c~

Richard

-- 
Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message



More information about the blfs-support mailing list