mod_layout install error - relocation R_X86_64_32S against `a local symbol'
Joke Mail <[email protected]> Fri, 10 Feb 2006 10:01:42 -0800 (PST)
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am installing mod_layout on root@cpanel [~/mod_layout-3.2.1]# make apxs -c mod_layout.o utility.o origin.o layout.o gcc -shared -o mod_layout.so mod_layout.o utility.o origin.o layout.o /usr/bin/ld: mod_layout.o: relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC mod_layout.o: could not read symbols: Bad value collect2: ld returned 1 exit status apxs:Break: Command failed with rc=1 make: *** [mod_layout.so] Error 1 root@cpanel [~/mod_layout-3.2.1]# Following is system configuration. # cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Pentium(R) 4 CPU 3.00GHz stepping : 3 cpu MHz : 2992.704 cache size : 2048 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 fpu : yes fpu_exception : yes cpuid level : 3 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm pni monitor ds_cpl est cid cx16 xtpr bogomips : 5931.00 clflush size : 64 cache_alignment : 128 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Pentium(R) 4 CPU 3.00GHz stepping : 3 cpu MHz : 2992.704 cache size : 2048 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 fpu : yes fpu_exception : yes cpuid level : 3 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm pni monitor ds_cpl est cid cx16 xtpr bogomips : 5980.16 clflush size : 64 cache_alignment : 128 address sizes : 36 bits physical, 48 bits virtual power management: # cat /proc/version Linux version 2.6.9-22.ELsmp ([email protected]) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Mon Sep 19 18:00:54 EDT 2005 # cat /etc/redhat-release Red Hat Enterprise Linux ES release 4 (Nahant Update 2) # Can anyone help ? Regards, Yujin __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com