Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old May 23rd, 2001, 06:41 AM
ike ike is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Germany
Posts: 3 ike User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question build problems

hi @,

please help me with following problem:

#building and installing PHP4, MySQL worked without problems ...
configuring apache worked also:
#./configure --prefix=/opt/apache --activate-module=src/modules/php4/libphp4.a

when i now try to build apache i receive this error:
...
gcc -DHPUX11 -I/opt/php... -o httpd buildmark.o ...
/usr/sbin/ld: Unsatisfied symbols (ld=link editor)
group_id (data)
user_name (data)
server_root (data)
destroy_sub_req (code)
run_sub_req (code)
user_id (data)
sub_req_lookup_uri (code)
max_requests_per_child (data)
table_elts (code)
table_set (code)
table_get (code)
collect2: ld returned 1 exit status
*** Error exit code 1
Stop.

Perhaps someone else have bothered himself with a similar problem ?
Are there any missing flags?

ike

Reply With Quote
  #2  
Old May 29th, 2001, 10:45 AM
WinZip WinZip is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 10 WinZip User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Compiling questions are not too popular around here, so let me see if I can be of any assistance...

You might want to try compiling in the directory /src.

But first you will want to edit the file Configuration, uncommenting whatever AddModule lines you think you will need, as well as adding flags like

EXTRA_LIBS=-Lpath/to/lib -lmylib
EXTRA_INCLUDES=-Ipath/to/includes.

Save the file and run ./Configure, then go back to the parent directory and run ./configure, make, and make install.

And this is about the extent of my knowledge of compiling. Hope I was of some assistance.

Good luck!

Reply With Quote
  #3  
Old May 30th, 2001, 03:44 AM
ike ike is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Germany
Posts: 3 ike User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thanx WinZip,

but i solved the problem by myself ...

the problem was located in the building php4.
i found the undefined symbols in the lib: libphp4.a
(
#nm -x libphp4.a | grep user_name
user_name | | undef | data

-> so i deduced from this, that there was an error in building this php4 module.

after doing all again (configure apache, configure and build php4 & make & make install, reconfigure apache & make & make install) it WORKED !!!

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > build problems


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway