11-18-2009
The bundled cc in HP-UX is a minimum C compiler which is mainly included for doing kernel rebuilds. You need to obtain what is now called the HP C/ANSI C Developer's Bundle to get a real ANSI C compiler or install gcc.
10 More Discussions You Might Find Interesting
1. Programming
i am trying to compile transcode on AIX v 4.3.3 with gcc 3.0.1
i am getting this error:
gcc -shared -o .libs/libexport_null.so.0 export_null.o -lpthread -ldl -lc -Wl,-bnoentry -Wl,-bexport:.libs/libexport_null.exp
ld: 0711-317 ERROR: Undefined symbol: capability_flag
ld: 0711-317... (0 Replies)
Discussion started by: thalex
0 Replies
2. Shell Programming and Scripting
I want to edit a huge script file using sed. How can I add the new lines symbols in the red colored places?
sed -e "s/test -z "$x"/if test -z "$x" then echo -1; \n else \n/g" (1 Reply)
Discussion started by: gogogo
1 Replies
3. UNIX for Dummies Questions & Answers
Why kernel symbols should be declared static?
Closed - homework (0 Replies)
Discussion started by: anupa
0 Replies
4. Shell Programming and Scripting
Hi,
Any one of you guys can you help me out to filter all "," (single comma) from the below attached contents in a file.
sportiva:root:/home/users/thayata/test # cat sample2.csv
Heading,Sub Heading,,Detail
Server details,Deployment environment:,,Standard Datacentre DC1
,Chassis... (2 Replies)
Discussion started by: ajilesh
2 Replies
5. AIX
Hello experts ,
i have some strange problem,
i wanted to create a shared object in AIX 5.3 for which i have compiled all my .cxx to .o which worked fine and then i created the .so from them , but when i do
nm -Bo sample.so ,
i have many unresolved symbol, including printf... (0 Replies)
Discussion started by: vin_pll
0 Replies
6. Programming
Hi,
I am getting the following error while compiling my C++ program using GCC compiler.
/usr/ccs/bin/ld: Unsatisfied symbols:
display (first referenced in /var/tmp//cclSYScd.o) (code)
collect2: ld returned 1 exit status
Can anybody help me out?
Thanks in advance..!! (1 Reply)
Discussion started by: Kattoor
1 Replies
7. Shell Programming and Scripting
Hi my file is suffering from some weird text symbols like a question mark inside of a square. I don't know how to remove these. I tried to remove UTF accents with command
sed -e 's/^*Width:*//' -e 's/*$//'`
but no use
. Could u guyz plz help me. (4 Replies)
Discussion started by: repinementer
4 Replies
8. Shell Programming and Scripting
Can anyone please tell me what the following do
1. <
2. <<
Thanks
Calypso (1 Reply)
Discussion started by: Calypso
1 Replies
9. UNIX for Dummies Questions & Answers
I noticed that sometimes there is "~#" or "~$" in the terminal. What is that? I can't make any research in google because I don't know what are they called. I even tried reading pdf's or books but unfortunately, I wasn't lucky to find out. Maybe I was not persistent enough but I am really... (3 Replies)
Discussion started by: chams
3 Replies
10. AIX
Hi, I need to look at a recent copy of /usr/include/errno.h from AIX 7.2 to check some symbols. In particular, I'm curious if it defines EOWNERDEAD and ENOTRECOVERABLE. Can someone who has access to 7.2 please check for me? Thanks! (1 Reply)
Discussion started by: topcat
1 Replies
LEARN ABOUT NETBSD
__builtin_object_size
__BUILTIN_OBJECT_SIZE(3) BSD Library Functions Manual __BUILTIN_OBJECT_SIZE(3)
NAME
__builtin_object_size -- return the size of the given object
SYNOPSIS
size_t
__builtin_object_size(void *ptr, int type);
DESCRIPTION
The __builtin_object_size() function is a gcc(1) built-in function that returns the size of the ptr object if known at compile time and the
object does not have any side effects.
RETURN VALUES
If the size of the object is not known or it has side effects the __builtin_object_size() function returns:
(size_t)-1 for type 0 and 1.
(size_t)0 for type 2 and 3.
If the size of the object is known, then the __builtin_object_size() function returns the maximum size of all the objects that the compiler
knows that they can be pointed to by ptr when type & 2 == 0, and the minimum size when type & 2 != 0.
SEE ALSO
gcc(1), __builtin_return_address(3), attribute(3), ssp(3)
HISTORY
The __builtin_object_size() appeared in GCC 4.1.
CAVEATS
This is a non-standard, compiler-specific extension.
BSD
December 19, 2010 BSD