Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring 5.6.1 on HP-UX 11.11 #4426

Closed
p5pRT opened this issue Sep 20, 2001 · 4 comments
Closed

Configuring 5.6.1 on HP-UX 11.11 #4426

p5pRT opened this issue Sep 20, 2001 · 4 comments

Comments

@p5pRT
Copy link

p5pRT commented Sep 20, 2001

Migrated from rt.perl.org#7708 (status was 'resolved')

Searchable as RT7708$

@p5pRT
Copy link
Author

p5pRT commented Sep 20, 2001

From Ulrich.Windl@rz.uni-regensburg.de

I had one strange effect during configuring Perl 5.6.1 on HP-UX 11.11
using gcc-2.95.2​:

What is the type for the 2nd, 3rd, and 4th arguments to select? [int *]

Checking to see on how many bits at a time your select() operates...
In file included from try.c​:23​:
/usr/include/sys/socket.h​:439​: parse error before `sendfile'
/usr/include/sys/socket.h​:439​: parse error before `bsize_t'
/usr/include/sys/socket.h​:440​: warning​: data definition has no type or storage \
class
/usr/include/sys/socket.h​:441​: parse error before `sendpath'
/usr/include/sys/socket.h​:441​: parse error before `bsize_t'
/usr/include/sys/socket.h​:442​: warning​: data definition has no type or storage \
class
try.c​: In function `main'​:
try.c​:47​: request for member `fds_bits' in something not a structure or
union
try.c​:50​: warning​: passing arg 2 of `select' from incompatible pointer
type
try.c​:51​: request for member `fds_bits' in something not a structure or
union
What is the minimum number of bits your select() operates on? [1]

The line with the first error (/usr/include/sys/socket.h, line 439)
reads like this​:
  extern sbsize_t sendfile __((int, int, off_t, bsize_t,
  const struct iovec *, int));

The Configure seemed to finish OK. However make failed​:

rkdvmhp3​:windl(23) % gmake
`sh cflags libperl.a miniperlmain.o` miniperlmain.c
  CCCMD = gcc -DPERL_CORE -c -D_HPUX_SOURCE -L/lib/pa1.1 -
DUINT32_MAX_\
BROKEN -fno-strict-aliasing -I/usr/local/include -O
In file included from perl.h​:713,
  from miniperlmain.c​:12​:
/usr/include/sys/socket.h​:439​: parse error before `sendfile'
/usr/include/sys/socket.h​:439​: parse error before `bsize_t'
/usr/include/sys/socket.h​:440​: warning​: data definition has no type or
storage \
class
/usr/include/sys/socket.h​:441​: parse error before `sendpath'
/usr/include/sys/socket.h​:441​: parse error before `bsize_t'
/usr/include/sys/socket.h​:442​: warning​: data definition has no type or
storage \
class
gmake​: *** [miniperlmain.o] Error 1

/usr/include/sys/types.h reads (partially)​:
# ifndef _BSIZE_T
# define _BSIZE_T
# if defined(_APP32_64BIT_OFF_T) || defined(_KERNEL)
  typedef int64_t sbsize_t; /* signed length in bytes */
  typedef uint64_t bsize_t; /* unsigned length in bytes */
# else
  typedef long sbsize_t;
  typedef unsigned long bsize_t;
# endif
# endif /* _BSIZE_T */

The kernel is running with 64bit (if it matters). The full log is
available on demand...

Regards,
Ulrich

@p5pRT
Copy link
Author

p5pRT commented Sep 21, 2001

From @Tux

On 20 Sep 2001, at 16​:44, H.Merijn Brand wrote​:

On Thu 20 Sep 2001 16​:17, "Ulrich Windl" <Ulrich.Windl@​rz.uni-regensburg.de> wrote​:

Do you now still want my port?

No, thanks. I have several machines that need equal software
configurations. I'm trying to make a software package from the built
libnet.

Can I close this bug report?

From my standpont​: Yes, but probably be aware that others may report
the very same problem, so finding the cause of the problem would still
be good.

Regards,
Ulrich

--------------------- Original Message Ends --------------------

@p5pRT
Copy link
Author

p5pRT commented Dec 8, 2004

From @smpeters

[RT_System - Thu Sep 20 19​:16​:10 2001]​:

On 20 Sep 2001, at 16​:44, H.Merijn Brand wrote​:

On Thu 20 Sep 2001 16​:17, "Ulrich Windl" <Ulrich.Windl@​rz.uni-
regensburg.de> wrote​:

Do you now still want my port?

No, thanks. I have several machines that need equal software
configurations. I'm trying to make a software package from the
built
libnet.

Can I close this bug report?

From my standpont​: Yes, but probably be aware that others may report
the very same problem, so finding the cause of the problem would still
be good.

Regards,
Ulrich

--------------------- Original Message Ends --------------------

Perl is now configuring cleanly on HP-UX since before 5.8.6.

@p5pRT
Copy link
Author

p5pRT commented Dec 8, 2004

@smpeters - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant