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

Compiling RPM on Hpux11 Popt Prob.



After finding cures for problems invoving  BerekelyDb and zlibs and gettext etc (all cures will be posted soon when final solution is documented) I have hit yet another! See below
I cannot get popt tomake . Within the popt directory I run the ./configure to generate the make and then I run the make see below
Please if this rings a bell with any body can you let me know!

/components/cmf_work_areas/dolanm/rpm/rpm3/popt/popt-1.5$make
        make  all-recursive
Making all in intl
Making all in po
        /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/components/cmf_work_areas/dolanm/rpm/zlib11/zlib/zlib-RUN/opt/zlib/include -I/components/cmf_work_areas/dolanm/rpm/zlib11/include -I/usr/local/BerkeleyDB/include   -c popt.c
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/components/cmf_work_areas/dolanm/rpm/zlib11/zlib/zlib-RUN/opt/zlib/include -I/components/cmf_work_areas/dolanm/rpm/zlib11/include -I/usr/local/BerkeleyDB/include -c popt.c -o popt.o
(Bundled) cc: "popt.h", line 87: error 1000: Unexpected symbol: "con".
(Bundled) cc: "popt.h", line 95: error 1000: Unexpected symbol: "con".
(Bundled) cc: "popt.h", line 98: error 1000: Unexpected symbol: "con".

Some of the problem lines from popt.h are shown below

    87  typedef void (*poptCallbackType)(poptContext con,
    88                                   enum poptCallbackReason reason,
    89                                   const struct poptOption * opt,
    90                                   const char * arg, const void * data);
    91
    92  /*@only@*/ poptContext poptGetContext(/*@keep@*/ const char * name,
    93                  int argc, /*@keep@*/ const char ** argv,
    94                  /*@keep@*/ const struct poptOption * options, int flags);
    95  void poptResetContext(poptContext con);
    96
    97  /* returns 'val' element, -1 on last item, POPT_ERROR_* on error */
    98  int poptGetNextOpt(poptContext con);
    99  /* returns NULL if no argument is available */
   100  /*@observer@*/ /*@null@*/ const char * poptGetOptArg(poptContext con);
   101  /* returns NULL if no more options are available */
   102  /*@observer@*/ /*@null@*/ const char * poptGetArg(poptContext con);
   103  /*@observer@*/ /*@null@*/ const char * poptPeekArg(poptContext con);
   104  /*@observer@*/ /*@null@*/ const char ** poptGetArgs(poptContext con);
 

 

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