Operating System - HP-UX
1834425 Members
2328 Online
110067 Solutions
New Discussion

Re: <command line>:8:2: missing '(' after predicate

 
sasikala
Advisor

<command line>:8:2: missing '(' after predicate

Hi ,

I am trying to compile my application related makefile in HP-UX11.11. During the course i am getting the below stared error.

gcc -I. -I../../include -I../../include/regex -I../../include/.././os/unix -O2 -I/home/jupupg/jupiter/dev/mysql/include -DHPUX11 -DTARGET=\"httpsd\" -DNO_DL_NEEDED -DAPACHE_SSL -I`/opt/gpsy/perl588/bin/perl -MConfig -e 'print $Config{archlibexp}'`/CORE `/opt/gpsy/perl588/bin/perl -I/home/jupupg/jupiter/dev/data/apache/lib/perl '-MApache::ExtUtils=%Config' -e 'print $Config{ccflags}'` -DMOD_PERL_VERSION=\"1.28\" -D_XOPEN_SOURCE_EXTENDED -D_HPUX_SOURCE -D_INCLUDE_HPUX_SOURCE -D_INCLUDE_XOPEN_SOURCE_EXTENDED -I./os/unix -I../../include -I/home/jupupg/jupiter/dev/lib/openssl/include -I/home/jupupg/jupiter/dev/openssl/include -I/home/jupupg/jupiter/dev/src/web/GENS -I/home/jupupg/jupiter/dev/src/web/DirWrapper -I/home/jupupg/jupiter/dev/src/web/ntaucl/ -I/usr/local/include -I/home/jupupg/jupiter/dev/mysql/include -DHPUX -D_XOPEN_SOURCE_EXTENDED -D_HPUX_SOURCE -D_INCLUDE_HPUX_SOURCE -D_INCLUDE_XOPEN_SOURCE_EXTENDED -D_POSIX_D10_THREADS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c mod_perl_opmask.c
:8:2: missing '(' after predicate
*** Error exit code 1

Please do the needful.

Regards
Sasikala
4 REPLIES 4
Peter Godron
Honored Contributor

Re: <command line>:8:2: missing '(' after predicate

Hi,
please read:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=998620

1. Please re-check your code.
2. Try the suggestions from the earlier thread.
3. Report back/Award Points


Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.

So far you have never awarded points !



Peter Nikitka
Honored Contributor

Re: <command line>:8:2: missing '(' after predicate

Hi,

without seeing the line in the Makefile, I can only guess: Verify, that your strings
'print $Config{'
are written as
'print $$Config{'
in your Makefile - a single '$' references a make-variable.

Else send the relevant lines of your Makefile for further inspection.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
sasikala
Advisor

Re: <command line>:8:2: missing '(' after predicate

Hi Peter Nikitka,

I have check as you suggested. In Makefile the line contains double $ . It is only the print message.

Please find the attached Makefile.

Kindly do the neefule.

Regards
Sasikala
Peter Nikitka
Honored Contributor

Re: <command line>:8:2: missing '(' after predicate

Hi,

the Makefile you attached is not the one which generated the error messages, but seems to be the TOP-Makefile of a tree build.
You'll have to find the Makefile containing the compilation rule of 'mod_perl_opmask.c' and send that one.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"