Ticket UUID: | 486768 | |||
Title: | Sample extension doesn't work on FreeBSD | |||
Type: | Bug | Version: | obsolete: 8.3.3 | |
Submitter: | fandom | Created on: | 2001-11-29 00:44:09 | |
Subsystem: | 70. Sample Extension | Assigned To: | hobbs | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2002-03-06 15:47:50 | |
Resolution: | Fixed | Closed By: | hobbs | |
Closed on: | 2002-03-06 08:47:50 | |||
Description: |
I tried getting the sample extensio to work in FreeBSD 4.2, I did the following: - I created a 'configure' script in Linux using autoconf configure.in > configure. I did it Linux since the FreeBSD install didn't seem to include it. And by the way, in Linux the extension works fine. - I followed the usual secuence: - ./configure - make - make install During the make install appeared the following error: eval pkg_mkIndex exampleA0.2 ../libexampleA0.2.so *.tcl warning: error while loading ../libexampleA0.2.so: couldn't load file "./../libexampleA0.2.so": ./../libexampleA0.2.so: invalid shared object: e_phentsize != sizeof(Elf_Phdr) The result is that the pkgIndex.tcl has no 'package ifneeded' line. | |||
User Comments: |
hobbs added on 2002-03-06 15:47:50:
Logged In: YES user_id=72656 this had to do with FreeBSD's regular make not handling $($@_OBJECTS) substitutions that had .'s in them (or something like that). Anyway, gmake works just fine, but I've reworked the whole TEA stuff and sampleextension to be much more portable. andreas_kupries added on 2001-12-12 00:40:36: Logged In: YES user_id=75003 Ok, Jeff tells me that TEA does not depend on gnu make. He asked me to shunt this item to him. Doing that now. andreas_kupries added on 2001-12-08 00:22:43: Logged In: YES user_id=75003 IIRC TEA does rely on GNU make. I will check this with Jeff. dgp added on 2001-12-07 11:52:00: Logged In: YES user_id=80530 1. Does the sample extension require GNU make? 2. Is the submitter of this report using GNU make? andreas_kupries added on 2001-12-07 04:06:43: Logged In: YES user_id=75003 AFAIK we have no maintainer for the sample extension. Regarding the output of make, I see the 'ld' command, but no objects which are link into the library. fandom added on 2001-11-30 06:46:44: File Added - 13963: salida fandom added on 2001-11-30 06:46:43: Logged In: YES user_id=316500 I have attached to this comment the output of the configure, make and make install commands. dgp added on 2001-11-29 14:01:25: Logged In: YES user_id=80530 OK, it looks like the bug is in the sampleextension module itself. Something's gone wrong in the build so that the libexampleA0.2.so is not actually a [load]-able file on your FreeBSD platform. The output from the 'make' might be helpful, revealing details of how the extension was built. In particular, what compiler/linker combination are you using? Not sure who the "maintainer" for the TEA sample extension is, but I think it might be Andreas, or he'll know who is. |
Attachments:
- salida [download] added by fandom on 2001-11-30 06:46:43. [details]