In regard to: Re: [rpm-list] problems compiling rpm on solaris, Edward...:
Thanks Tim. After finally installing the new compiler, I still got the error
above! Phew! I then tried your suggestion replacing __FUNCTION__ with
"unknown function" and the compile got slightly further:
Since you've installed a completely new compiler, you really should
reconfigure, from scratch.
Before you try that, you could try
cd rpmio; make clean; make
but I'm not hopeful that will fix the issue.
When you reconfigure, make sure that you've included
-D__FUNCTION__=__func__
in both CPPFLAGS and CFLAGS. Also, make sure that
-I/usr/local/include/beecrypt
is part of both CPPFLAGS and CFLAGS too, since that also caused you
problems.
I never ran into the particular problem you show, which makes me suspect
that it has something to do with the route you took to get to this point.
"rpmlua.c", line 63: undefined symbol: luaopen_loadlib
"rpmlua.c", line 63: warning: improper pointer/integer combination: op "="
"rpmlua.c", line 63: non-constant initializer: op "NAME"
Tim
--
Tim Mooney mooney@xxxxxxxxxxxxxxxxxxxxxxxxx
Information Technology Services (701) 231-1076 (Voice)
Room 242-J6, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list