PDA

View Full Version : Question about Embeded Perl Compile on Linux


krich
12-17-2003, 07:19 AM
The embeded perl seems to be compiling fine with one minor issue. When compiling net.cpp, I get the following error:

/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:3929: redefinition of
`union semun'
net.cpp:53: previous definition of `union semun'

I've commented out the redefinition in net.cpp and everything compiles fine, but while this fixes the immediate issue I'm not sure this is the proper long term solution. I've yet to fully test the zone executable generated by this method.

Comments? Guidance?

Regards,

krich

Trumpcard
12-17-2003, 08:17 AM
The makefile.perl should have

-DHAS_UNION_SEMUN in it..

Are you using the perl makefile, or did you roll your own ?

krich
12-17-2003, 08:41 AM
I did my own. That'll teach me not to do a directory listing before i tear into a new release.

I'll take a look and see if I have that makefile and then make the necessary adjustments.

Thanks Trumpcard!

Regards,

krich

Trumpcard
12-17-2003, 09:26 AM
Dont feel bad.. I only know it because i made it...