- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Compile a module
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
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
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
тАО08-08-2002 05:48 AM
тАО08-08-2002 05:48 AM
Compile a module
I'm trying to compile a module using the command
make install && make restart
It errors out with message:
ld: No $UNWIND_END$ subspace has been defined (probably missing /usr/ccs/lib/crt0.o)
apxs:Break: Command failed with rc=65536
*** Error exit code 1
The file /usr/ccs/lib/crt0.o does exist.
Any clues?
regards
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2002 06:30 AM
тАО08-08-2002 06:30 AM
Re: Compile a module
what C compiler?
what OS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2002 06:33 AM
тАО08-08-2002 06:33 AM
Re: Compile a module
attach an
swlist | more
To compile a kernel module, you'd use config (1m) and kminstall, but I don't think this is what you're doing..
See also http://www.hp.com/go/developer for general developer support..
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2002 06:34 AM
тАО08-08-2002 06:34 AM
Re: Compile a module
From the 11.00 release notes
These symbols are no longer defined in a PA64 crt0.o:
$RECOVER_END$
$RECOVER_START$
$START$
$UNWIND_END$
$UNWIND_START$
$global$
__argc_value
__argv_value
_start
See www.docs.hp.com
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2002 06:39 AM
тАО08-08-2002 06:39 AM
Re: Compile a module
Steve, 64bit builds are not supported from the braindead bundled compiler.
/opt/langtools/lib/crt0.o
/opt/langtools/lib/pa20_64/crt0.o
are the one's used by HP's ANSI-C compiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2002 07:11 AM
тАО08-08-2002 07:11 AM
Re: Compile a module
swlist file attached.
module is nltm_auth for apache/unix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2002 07:18 AM
тАО08-08-2002 07:18 AM
Re: Compile a module
Compiler = HP C-ANSI-C (I hope you *are* using it)
-- your version is B.11.01.07, consider an upgrade:
a5:/ 101 # swlist | grep ANSI
B3901BA B.11.02.04 HP C/ANSI C Developer's Bundle for HP-UX 11.00 (S800)
PHSS_25985 1.0 ANSI C compiler General patch
a5:/ 102 #
Module for Apache. Show us more output from the make. Do you *need* 64bit compile?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2002 07:31 AM
тАО08-08-2002 07:31 AM
Re: Compile a module
Then I'm assuming you ran make with no problems. Try "make test" to see if that is in there as an option.
Make sure that /usr/ccs/lib is in your path as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2002 07:55 AM
тАО08-08-2002 07:55 AM
Re: Compile a module
make test
apxs -c -I/apps/9ias/oracle/product/9iAS/Apache/Apache/include -L/home/javadba1/mod_ntlm-0.3/smbval -Wc,-Wall mod_ntlm.c
cc -O -xildoff -DMACHINE64 -DNO_RC2 -DNO_RC5 -DNO_IDEA -DBSAFE -KPIC -DSOLARIS2=260 -DMOD_SSL=206104 -DMOD_PERL -DUSE_PERL_SSI -I/include -DEAPI -DUSE_EXPAT -I../lib/expat-lite -KPIC -DSHARED_MODULE -I/include -Wall -I/apps/9ias/oracle/product/9iAS/Apache/Apache/include -c mod_ntlm.c
cc: warning 422: Unknown option "x" ignored.
cc: warning 422: Unknown option "i" ignored.
cc: warning 422: Unknown option "K" ignored.
cc: warning 422: Unknown option "K" ignored.
ld -G -o mod_ntlm.so mod_ntlm.o -L/home/javadba1/mod_ntlm-0.3/smbval
ld: Unsatisfied symbols:
memset (code)
memcpy (code)
close (code)
socket (code)
free (code)
bzero (code)
ap_requires (code)
ap_cfg_closefile (code)
toupper (code)
writev (code)
ap_pstrcat (code)
ap_palloc (code)
fputs (code)
getgid (code)
strlen (code)
ap_set_string_slot (code)
ap_getword_conf (code)
ap_table_get (code)
connect (code)
ap_clear_pool (code)
ap_table_addn (code)
gethostbyname (code)
ap_pstrdup (code)
ap_null_cleanup (code)
_islower (code)
strcasecmp (code)
strncmp (code)
inet_addr (code)
ap_set_flag_slot (code)
ap_set_file_slot (code)
strncpy (code)
ap_base64encode_len (code)
ap_psprintf (code)
ap_base64decode (code)
ap_base64decode_len (code)
vsprintf (code)
ap_table_setn (code)
ap_register_cleanup (code)
ap_make_table (code)
fclose (code)
ap_cfg_getline (code)
strchr (code)
read (code)
ap_getword_white (code)
strcmp (code)
ap_destroy_pool (code)
ap_getword (code)
ap_log_rerror (code)
strcpy (code)
gethostname (code)
ap_pcfg_openfile (code)
ap_pbase64decode (code)
fopen (code)
ap_make_sub_pool (code)
ap_note_basic_auth_failure (code)
malloc (code)
memcmp (code)
getpid (code)
ap_pcalloc (code)
alarm (code)
ap_signal (code)
__SB_masks (data)
ap_base64encode (code)
ld: No $UNWIND_END$ subspace has been defined (probably missing /usr/ccs/lib/crt0.o)
apxs:Break: Command failed with rc=65536
*** Error exit code 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2002 10:12 AM
тАО08-08-2002 10:12 AM
Re: Compile a module
1. Download a working gcc, preferably the same mod_perl was built with, and use that (recent versions can be fetched from https://www.beepz.com/personal/merijn )
2. `Fix' the Makefile to pass correct arguments
-Wc,-Wall => remove, or use +w1
-xildoff => ?
-KPIC => +Z
-Wall => remove, or use +w1