- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- gcc parse error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 02:38 AM
тАО12-09-2003 02:38 AM
gcc parse error
/var/plug/nagios-plugins-1.4.0alpha1/=> make
No suffix list.
make all-recursive
No suffix list.
Making all in intl
/var/plug/nagios-plugins-1.4.0alpha1/intl
Making all in lib
/var/plug/nagios-plugins-1.4.0alpha1/lib
rm -f libnagiosplug.a
ar cru libnagiosplug.a getopt.o getopt1.o snprintf.o fsusage.o mountlis
t.o xmalloc.o realloc.o error.o getloadavg.o
ranlib libnagiosplug.a
Making all in plugins
/var/plug/nagios-plugins-1.4.0alpha1/plugins
if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I
. -I. -I.. -I.. -I../lib -I../intl -I/usr/local/include/include -g -O2 -MT
check_disk.o -MD -MP -MF ".deps/check_disk.Tpo" \
-c -o check_disk.o `test -f 'check_disk.c' || echo './'`check_disk.c;
\
then mv -f ".deps/check_disk.Tpo" ".deps/check_disk.Po"; \
fi
In file included from common.h:74,
from check_disk.c:24:
/usr/include/sys/socket.h:439: parse error before "sendfile"
/usr/include/sys/socket.h:440: parse error before "bsize_t"
/usr/include/sys/socket.h:441: parse error before "sendpath"
/usr/include/sys/socket.h:442: parse error before "bsize_t"
*** Error exit code 1
Stop.
*** Error exit code 1
Any can help about this??? my server is D280 with gcc version 3.2 !!
- Tags:
- gcc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 02:48 AM
тАО12-09-2003 02:48 AM
Re: gcc parse error
I have several on my ITRC site. Installation instructions on the site
My HP ITRC site pages can be found at
Singapore https://www.beepz.com/personal/merijn/
Rotterdam http://www.cmve.net/~merijn/
Seattle http://ww.hpux.ws/merijn/
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 03:39 AM
тАО12-09-2003 03:39 AM
Re: gcc parse error
i'm bzip2 your gcc but i need help in install! sorry my bad english but i'm brazilian man. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 03:48 AM
тАО12-09-2003 03:48 AM
Re: gcc parse error
For 64bit compiler (http://www.cmve.net/~mbrand/gcc-3.3.2-64-11.11-elf64.tbz):
# cd /usr/local
# bzip2 -d < /var/tmp/gcc-3.3.2-64-11.00-elf64.tbz | tar xf -
For 32bit compiler (http://www.cmve.net/~mbrand/gcc-3.3.2-32-11.11-hppa2.0.tbz):
# cd /usr/local
# bzip2 -d < /var/tmp/gcc-3.3.2-32-11.11-hppa2.0.tbz | tar xf -
If you don't have bzip, it's there too:
http://www.cmve.net/~mbrand/bzip2-1.0.2-pa2.0
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 03:53 AM
тАО12-09-2003 03:53 AM
Re: gcc parse error
drwxrwxrwx 2 203 200 8192 Dec 9 14:32 bin
drwxrwxrwx 4 203 200 96 Dec 9 14:33 hppa64-hp-hpux11.11
drwxrwxrwx 5 203 200 8192 Dec 9 14:33 include
drwxrwxrwx 2 203 200 8192 Dec 9 14:33 info
drwxrwxrwx 4 203 200 8192 Dec 9 14:33 lib
drwxrwxrwx 6 203 200 96 Dec 9 14:33 man
drwxrwxrwx 2 203 200 96 Feb 27 2002 share
and this
/var/pa20_64/bin/=> ls
addr2line gld64
ar gprof
as hppa64-hp-hpux11.11-c++
c++ hppa64-hp-hpux11.11-g++
c++64 hppa64-hp-hpux11.11-gcc
c++filt hppa64-hp-hpux11.11-gcc-3.3.2
cpp ld
g++ libpng-config
g++64 libpng12-config
gas nm
gas64 objcopy
gcc objdump
gcc64 ranlib
gccbug readelf
gcov size
gdb strings
gld strip
how can i use the gcc? copy for /usr/local/bin? this folder?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 03:59 AM
тАО12-09-2003 03:59 AM
Re: gcc parse error
Again from the site:
64bit:
And add /usr/local/pa20_64/bin to your $PATH, preferably in /etc/PATH.
32bit:
And add /usr/local/pa20_32/bin to your $PATH, preferably in /etc/PATH.
And it *needs* to find /usr/local/pa20_64, so if you install it in /var/pa20_64, you will have to
# ln -s /var/pa20_64 /usr/local/pa20_64
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 06:09 AM
тАО12-09-2003 06:09 AM
Re: gcc parse error
i just type make in new compiler and i receive this message
In file included from common.h:171,
from check_disk.c:24:
../lib/gettext.h:26:22: libintl.h: No such file or directory
check_disk.c: In function `main':
check_disk.c:164: warning: passing arg 1 of `usage' makes pointer from integer w
ithout a cast
check_disk.c:216: warning: passing arg 2 of `asprintf' makes pointer from intege
r without a cast
check_disk.c:230: warning: passing arg 2 of `asprintf' makes pointer from intege
r without a cast
........
and my Makefile:
CATOBJEXT = .gmo
CC = /usr/local/pa20_64/bin/hppa64-hp-hpux11.11-gcc-3.3.2 <--i add your gcc here is ok?
CCDEPMODE = depmode=gcc3
sorry my bad english :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 05:30 PM
тАО12-09-2003 05:30 PM
Re: gcc parse error
http://hpux.connect.org.uk/hppd/hpux/Gnu/gettext-0.12/
http://hpux.connect.org.uk/hppd/hpux/Development/Libraries/libiconv-1.9/
2. You probably should use the 32bit compiler. (Are you *sure* you want/need the 64bit compiler?)
3. You should use the short name
CC = /usr/local/pa20_64/bin/gcc
4. You should asign points to all of the above messages
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2004 02:47 PM
тАО08-17-2004 02:47 PM
Re: gcc parse error
Use the HPUX 11i version of GCC. Download it from http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html