Modify

Opened 7 years ago

Closed 7 years ago

#8576 closed defect (duplicate)

Bug while building OpenWRT backfire build 24814 with php5 + phpcli + php-mod-sqlite3

Reported by: michel.targo@… Owned by: developers
Priority: normal Milestone:
Component: packages Version: Backfire 10.03
Keywords: php Cc:

Description

Bug while building OpenWRT backfire 24814 with php5 + phpcli + php-mod-sqlite3

Here the make error with V=99

php_crypt_r.c:(.text+0x5a8): undefined reference to `membar_producer'
php_crypt_r.c:(.text+0x5bc): undefined reference to `atomic_add_int'
collect2: ld returned 1 exit status
make[4]: * [sapi/cli/php] Error 1
make[4]: Leaving directory `/home/user/backfire/build_dir/target-mips_r2_uClibc-0.9.30.1/php-5.3.4'
make[3]:
* /home/user/backfire/build_dir/target-mips_r2_uClibc-0.9.30.1/php-5.3.4/.built Error 2
make[3]: Leaving directory `/home/user/backfire/feeds/packages/lang/php5'
make[2]: * [package/feeds/packages/php5/compile] Error 2
make[2]: Leaving directory `/home/user/backfire'
make[1]:
* /home/user/backfire/staging_dir/target-mips_r2_uClibc-0.9.30.1/stamp/.package_compile Error 2
make[1]: Leaving directory `/home/user/backfire'
make: * [world] Error 2

Attachments (1)

feeds_packages_php_crypt_r.patch (1.3 KB) - added by slashv 7 years ago.
svn diff for feeds/packages containing php_crypt_r.c patch

Download all attachments as: .zip

Change History (4)

comment:1 Changed 7 years ago by slashv

I found this page that provides a patch that makes it compile. I haven't tested the php module runtime.

Changed 7 years ago by slashv

svn diff for feeds/packages containing php_crypt_r.c patch

comment:2 Changed 7 years ago by slashv

Actually, the patch from #8543 looks better.

comment:3 Changed 7 years ago by nbd

  • Resolution set to duplicate
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.