Sponsored Content
Full Discussion: Migration - Compiler Issues.
Operating Systems HP-UX Migration - Compiler Issues. Post 302627807 by helper on Sunday 22nd of April 2012 12:20:15 AM
Old 04-22-2012
Migration - Compiler Issues.

All,

We are migrating an application from HP-UX B.11.00 to HP-UX B.11.31 and both of them have the same informix version - 7.25se. However the compilers are different on both servers.
HP-UX B.11.00 - has B3913DB C.03.33 HP aC++ Compiler (S800)
HP-UX B.11.31 - has PHSS_40631 1.0 HP C/aC++ Compiler (A.06.24)

We have re-compiled and created all the executables. Some of our executables are giving core dumps giving the following information.

Code:
Program terminated with signal 11, Segmentation fault.
SEGV_ACCERR - Invalid Permissions for object
#0 0x40be5c0:1 in pf_getval () at e33lfunc.c:51
51 e33lfunc.c: No such file or directory.
in e33lfunc.c
(gdb) where
#0 0x40be5c0:1 in pf_getval () at e33lfunc.c:51


As per my understanding pf_getval is a PERFORM Library functions. Can someone tell me which library has these functions so that i can link them while compiling and proceed with the same...

Let me know if i need to furnish any further details.

Moderator's Comments:
Mod Comment Link: How to use code tags

Last edited by Scrutinizer; 04-22-2012 at 02:02 AM..
 

8 More Discussions You Might Find Interesting

1. Programming

Compiler License Issues

Although not strictly about the process of coding in C, this forum seemed the most appropriate for this topic. Apologies if that's not correct. I have been contacted by one of my developers; they are receiving this error message on our AIX box: 4053: cc EXTRACT.c 1506-507 (W) No licenses... (1 Reply)
Discussion started by: sam_pointer
1 Replies

2. Solaris

Compiler issues with ./configure

Hi guys i'm running solaris 7 on an ultra 5 sparc system and for the life of me i keep getting this error when trying to configure apache: checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. ... (0 Replies)
Discussion started by: solidsigma
0 Replies

3. UNIX for Dummies Questions & Answers

xl C/C++ compiler to GCC compiler

Hi, we are converting from IBM-AIX(xl c/c++ compiler) to Linux(GCC complier). As a part of this i need to change the CFLAGS. The xl c/c++ complier CFLAGS is CFLAGS := $(CDEBUG) $(PROJECT_INCLUDE_DIRS) $(COBJECT_MODE) -qcpluscmt -qmakedep -qcheck=all \ -qalign=bit_packed $(LINT_FLAGS)... (0 Replies)
Discussion started by: pbattu1
0 Replies

4. Programming

How Can a Machine Reads a Compiler Since A Compiler is Written in Text! Not Binaries?

To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first? The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's... Eventhough i... (12 Replies)
Discussion started by: f.ben.isaac
12 Replies

5. Shell Programming and Scripting

Shell Script migration issues

Hi All, We will be doing a Solaris 8 to Solaris 10 migration migration, just wanted to know if there are any known / common issues arise from this migration from Shell script point of view. I tried searching this site but mostly post are related to SA's question and jumpstart, etc. If there's... (4 Replies)
Discussion started by: arvindcgi
4 Replies

6. UNIX for Dummies Questions & Answers

cc compiler and gcc compiler

hi, can we install gcc compiler in unix based OS(sun solar,IBM AIX,HP,etc) and also can we install sun cc compiler in AIX environment and vice versa. and more ..is linux support cc compiler regards Ajay (3 Replies)
Discussion started by: ajaysahoo
3 Replies

7. AIX

AIX - FC Switch migration, SAN Migration question!

I'm New to AIX / VIOS We're doing a FC switch cutover on an ibm device, connected via SAN. How do I tell if one path to my remote disk is lost? (aix lvm) How do I tell when my link is down on my HBA port? Appreciate your help, very much! (4 Replies)
Discussion started by: BG_JrAdmin
4 Replies

8. UNIX and Linux Applications

Xalan & Xerces issues for Oracle Linux 6.6 & Solarisstudio12.3 C++ compiler for Linux

Hi Team, I am facing issue while using Xalan & Xerces for my application. Below are my environment details i am using :- Platform:- Oracle Linux 6.6 Compiler :- solarisstudio12.3 C++ compiler for Linux Below are the versions of Xalan & Xerces source code used to build the shared object... (0 Replies)
Discussion started by: agrachirag
0 Replies
libcaca-migrating(3caca)					      libcaca						  libcaca-migrating(3caca)

NAME
libcaca-migrating - Migrating from libcaca 0.x to the 1.0 API This section will guide you through the migration of a libcaca 0.x application to the latest API version. Overview The most important change in the 1.0 API of libcaca is the object-oriented design. See these two examples for a rough idea of what changed: #include <caca.h> /* libcaca program - 0.x API */ int main(void) { /* Initialise libcaca */ caca_init(); /* Set window title */ caca_set_window_title('Window'); /* Choose drawing colours */ caca_set_color(CACA_COLOR_BLACK, CACA_COLOR_WHITE); /* Draw a string at (0, 0) */ caca_putstr(0, 0, 'Hello world!'); /* Refresh display */ caca_refresh(); /* Wait for a key press event */ caca_wait_event(CACA_EVENT_KEY_PRESS); /* Clean up library */ caca_end(); return 0; } #include <caca.h> /* libcaca program - 1.0 API */ int main(void) { /* Initialise libcaca */ caca_canvas_t *cv; caca_display_t *dp; dp = caca_create_display(NULL); cv = caca_get_canvas(dp); /* Set window title */ caca_set_display_title(dp, 'Window'); /* Choose drawing colours */ caca_set_color_ansi(cv, CACA_BLACK, CACA_WHITE); /* Draw a string at (0, 0) */ caca_put_str(cv, 0, 0, 'Hello world!'); /* Refresh display */ caca_refresh_display(); /* Wait for a key press event */ caca_get_event(dp, CACA_EVENT_KEY_PRESS, NULL, -1); /* Clean up library */ caca_free_display(dp); return 0; } Note the following important things: o Most functions now take an object handle as their first argument. Migration strategy You have two ways to migrate your application to use libcaca 1.x: o Port your code using the function equivalence list. This is the preferred way because new functions are thread safe and offer much more features to both the programmer and the end user. o Use the legacy compatibility layer. Using the compatibility layer is as easy as adding the following three lines: #include <caca.h> /* libcaca program - 0.x API */ ... #include <caca.h> #ifdef CACA_API_VERSION_1 # include <caca0.h> #endif /* libcaca program - 0.x API */ ... The modified code is guaranteed to build both with libcaca 0.x and libcaca 1.0. Function equivalence list Basic functions o caca_init(): use caca_create_canvas() to create a libcaca canvas, followed by caca_create_display() to attach a libcaca display to it. Alternatively, caca_create_display() with a NULL argument will create a canvas automatically. o caca_set_delay(): use caca_set_display_time(). o caca_get_feature(): deprecated. o caca_set_feature(): deprecated, see caca_set_dither_antialias(), caca_set_dither_color() and caca_set_dither_mode() instead. o caca_get_feature_name(): deprecated, see caca_get_dither_mode_list(), caca_get_dither_antialias_list() and caca_get_dither_color_list() instead. o caca_get_rendertime(): use caca_get_display_time(). o caca_get_width(): use caca_get_canvas_width(). o caca_get_height(): use caca_get_canvas_height(). o caca_set_window_title(): use caca_set_display_title(). o caca_get_window_width(): use caca_get_display_width(). o caca_get_window_height(): use caca_get_display_height(). o caca_refresh(): use caca_refresh_display(). o caca_end(): use caca_free_display() to detach the libcaca display, followed by caca_free_canvas() to free the underlying libcaca canvas. Alternatively, if the canvas was created by caca_create_display(), it will be automatically destroyed by caca_free_display(). Event handling o caca_get_event(): unchanged, but the event information retrieval changed a lot. o caca_wait_event(): use caca_get_event() with a timeout argument of -1. o caca_get_mouse_x(): unchanged. o caca_get_mouse_y(): unchanged. Character printing o caca_set_color(): use caca_set_color_ansi() or caca_set_color_argb(). o caca_get_fg_color(): use caca_get_attr(). o caca_get_bg_color(): use caca_get_attr(). o caca_get_color_name(): this function is now deprecated due to major uselessness. o caca_putchar(): use caca_put_char(). o caca_putstr(): use caca_put_str(). o caca_printf(): unchanged. o caca_clear(): use caca_clear_canvas(). Primitives drawing These functions are almost unchanged, except for Unicode support and the fact that they now act on a given canvas. o caca_draw_line(): unchanged. o caca_draw_polyline(): unchanged. o caca_draw_thin_line(): unchanged. o caca_draw_thin_polyline(): unchanged. o caca_draw_circle(): unchanged. o caca_draw_ellipse(): unchanged. o caca_draw_thin_ellipse(): unchanged. o caca_fill_ellipse(): unchanged. o caca_draw_box(): unchanged, but the argument meaning changed (width and height instead of corner coordinates). o caca_draw_thin_box(): use caca_draw_thin_box() or caca_draw_cp437_box(), also the argument meaning changed (width and height instead of corner coordinates). o caca_fill_box(): unchanged, but the argument meaning changed (width and height instead of corner coordinates). o caca_draw_triangle(): unchanged. o caca_draw_thin_triangle(): unchanged. o caca_fill_triangle(): unchanged. Mathematical functions o caca_rand(): unchanged, but the second argument is different, make sure you take that into account. o caca_sqrt(): this function is now deprecated, use your system's sqrt() call instead. Sprite handling The newly introduced canvases can have several frames. Sprites are hence completely deprecated. o caca_load_sprite(): use caca_import_file(). o caca_get_sprite_frames(): use caca_get_frame_count(). o caca_get_sprite_width(): use caca_get_canvas_width(). o caca_get_sprite_height(): use caca_get_canvas_height(). o caca_get_sprite_dx(): use caca_get_canvas_handle_x(). o caca_get_sprite_dy(): use caca_get_canvas_handle_y(). o caca_draw_sprite(): use caca_set_frame() and caca_blit(). o caca_free_sprite(): use caca_free_canvas(). Bitmap handling Bitmaps have been renamed to dithers, because these objects do not in fact store any pixels, they just have information on how bitmaps will be dithered. o caca_create_bitmap(): use caca_create_dither(). o caca_set_bitmap_palette(): use caca_set_dither_palette(). o caca_draw_bitmap(): use caca_dither_bitmap(). o caca_free_bitmap(): use caca_free_dither(). Compilation The caca-config utility is deprecated in favour of the standard pkg-config interface: gcc -c foobar.c -o foobar.o `pkg-config --cflags caca` gcc foobar.o -o foobar `pkg-config --libs caca` caca-config is still provided as a convenience tool but may be removed in the future. Version 0.99.beta18 Fri Apr 6 2012 libcaca-migrating(3caca)
All times are GMT -4. The time now is 12:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy