Operating System - HP-UX
1831170 Members
2611 Online
110021 Solutions
New Discussion

aCC and Qt compile problem...

 
Craig Smith_13
Frequent Advisor

aCC and Qt compile problem...

I'm trying to compile Qt 3.3.3 toolkit using aCC A.03.30 with PHSS_30966 installed on a HP C3000 workstation with HP-UX B 11.11. Any help would be appreciated.

I'm getting the following errors:
make
aCC -c +DAportable -w -D__STRICT_ANSI__ -D_HPUX_SOURCE -AA -O +Z -DQT_SH
URCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA -DQT_NO_XCURSOR -DQT
-DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -D
_COMPACT -DQT_NO_STYLE_POCKETPC -I/opt/qt/mkspecs/hpux-acc -I. -I3rdparty/libpng
elease-shared/ -o .obj/release-shared/qapplication_x11.o kernel/qapplication_x11
Error 43: "/usr/include/sys/socket.h", line 470 # C++ does not allow Old-style (
inline sbsize_t sendfile(a,b,c,d,e,f) int a,b,f; off_t c; bsize_
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error 43: "/usr/include/sys/socket.h", line 471 # C++ does not allow Old-style (
inline sbsize_t sendpath(a,b,c,d,e,f) int a,f; char *b; off_t c;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
*** Error exit code 2

Stop.
$
4 REPLIES 4
Mike Stroyan
Honored Contributor

Re: aCC and Qt compile problem...

That is fixed by a new socket.h in patch PHNE_31247 .

When you get to linking you may want patches PHSS_31000 and PHSS_31001, which provide a shared library version of libXmu.
Craig Smith_13
Frequent Advisor

Re: aCC and Qt compile problem...

Hi Mike,

Thank you, I modified the socket.h temporarily to get by the problem. I installed the PHNE_31247 & PHSS_31001 and resolved this problem.

This has gotten me further along. Now I'm getting (ldld.sl) unresolved symbols when it tries linking the designer program (type_id XT10QDropEvent_), I'll ping Trolltech on this....

I don't see a button to assign points, was this disabled in the forums?

Mike Stroyan
Honored Contributor

Re: aCC and Qt compile problem...

Your profile says that you are now a new "Craig Smith" who just joined the forums on October 19. There is no button to assign points because the software doesn't think you are the original poster.

Do you feel like a new man? ;-)
Craig Smith_13
Frequent Advisor

Re: aCC and Qt compile problem...


I'm surprised it let me sign up again with the same name/email address, since I couldn't log on with my old one. :-)

deja vu all over again....