Re: [Openslp-devel] Building issues on AIX
Brought to you by:
jcalcote
|
From: Ian N. <in...@gm...> - 2012-10-26 18:26:00
|
Turns out we build on aix 5.3 but we use the xlc_r compiler instead of gcc. On 25 Oct 2012 17:07, "Ian Norton" <in...@gm...> wrote: > We build the 2.0 beta sources, ill see if i can find if we do anything > different. > On 25 Oct 2012 16:56, "Jim Marshall" <jim...@wb...> > wrote: > >> Has anyone built the current OpenSLP on AIX? If so what version? >> >> We have AIX 6.1 and the first issue we ran into was in common/slp_net.h >> line 75 >> >> # define ss_family __ss_family >> >> it appears with AIX 6 they have changed to use 'ss_family' so you get a >> compile error on __ss_family, easy enough fix tho. >> >> The major issue I am running into appears to be with the flex/bison >> stuff. Here is the output of the build >> >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -DAIX -maix64 -Wall -O3 -MT >> slp_filter_l.lo -MD -MP -MF .deps/slp_filter_l.Tpo -c slp_filter_l.c -DPIC >> -o .libs/slp_filter_l.o >> slp_filter_l.l: In function 'filter_close_lexer': >> slp_filter_l.l:174: warning: cast to pointer from integer of different >> size >> slp_filter_l.l: In function 'slp_filter_init_lexer': >> slp_filter_l.l:181: warning: cast from pointer to integer of different >> size >> /bin/sh ../ylwrap slp_attr_y.y y.tab.c slp_attr_y.c y.tab.h slp_attr_y.h >> y.output slp_attr_y.output -- bison -y -d >> /usr/bin/m4: Not a recognized flag: - >> Usage: m4 [-els] [-B Number] [-D Name[=Value]]... [-H Number] >> [-I Directory] [-S Number] [-T Number] [-U Name]... [File...] >> make[2]: *** [slp_attr_y.c] Error 1 >> >> >> we have the following installed: >> flex version 2.5.4 >> bison (GNU Bison) 2.6.2 >> m4 (GNU M4) 1.4.16 >> >> >> I don't seem to see the 'yywrap' call on Linux, so I am wondering if >> there is some tool I am missing? >> >> Thank you >> >> -- >> Jim Marshall >> >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_sfd2d_oct >> _______________________________________________ >> Openslp-devel mailing list >> Ope...@li... >> https://lists.sourceforge.net/lists/listinfo/openslp-devel >> >> |