# Problem with compilation on solaris 10u5

**URL:** <https://www.ruby-forum.com/t/problem-with-compilation-on-solaris-10u5/169376>\
**Category:** NGINX\
**Created:** [June 3, 2009, 12:21am UTC](https://www.ruby-forum.com/t/problem-with-compilation-on-solaris-10u5/169376 "2009-06-03T00:21:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Radovan\_PSSSStec](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9de0a6/32.png) [@Radovan\_PSSSStec](https://www.ruby-forum.com/u/Radovan_PSSSStec)\
**Post date:** [June 3, 2009, 12:21am UTC](https://www.ruby-forum.com/t/problem-with-compilation-on-solaris-10u5/169376/1 "2009-06-03T00:21:17Z")

</div>

hello,

i have problem with compilation of nginx-0.7.59 on solaris 10u5. i  
got stuck on this:

Undefined first referenced  
symbol in file  
timer\_create objs/src/event/modules/  
ngx\_eventport\_module.o  
timer\_delete objs/src/event/modules/  
ngx\_eventport\_module.o  
timer\_settime objs/src/event/modules/  
ngx\_eventport\_module.o  
sched\_yield objs/src/core/ngx\_spinlock.o  
ld: fatal: Symbol referencing errors. No output written to objs/nginx

i use gcc 3.4.3. compilation log is in attachment.

---

<div class="post-metadata">

**Author:** ![Radovan\_PSSSStec](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9de0a6/32.png) [@Radovan\_PSSSStec](https://www.ruby-forum.com/u/Radovan_PSSSStec)\
**Post date:** [June 3, 2009, 6:59am UTC](https://www.ruby-forum.com/t/problem-with-compilation-on-solaris-10u5/169376/2 "2009-06-03T06:59:49Z")

</div>

On Wed, Jun 03, 2009 at 12:09:45AM +0200, Radovan P?tec wrote:

> ngx\_eventport\_module.o  
> timer\_settime objs/src/event/modules/  
> ngx\_eventport\_module.o  
> sched\_yield objs/src/core/ngx\_spinlock.o  
> ld: fatal: Symbol referencing errors. No output written to objs/nginx
> 
> i use gcc 3.4.3. compilation log is in attachment.

The patch.

---

<div class="post-metadata">

**Author:** ![Radovan\_PSSSStec](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9de0a6/32.png) [@Radovan\_PSSSStec](https://www.ruby-forum.com/u/Radovan_PSSSStec)\
**Post date:** [June 3, 2009, 8:39am UTC](https://www.ruby-forum.com/t/problem-with-compilation-on-solaris-10u5/169376/3 "2009-06-03T08:39:01Z")

</div>

thanks, it’s working.

radovan

---

<div class="post-metadata">

**Author:** ![Radovan\_PSSSStec](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9de0a6/32.png) [@Radovan\_PSSSStec](https://www.ruby-forum.com/u/Radovan_PSSSStec)\
**Post date:** [June 4, 2009, 9:21am UTC](https://www.ruby-forum.com/t/problem-with-compilation-on-solaris-10u5/169376/4 "2009-06-04T09:21:18Z")

</div>

What patch are you talking about? …and why isn’t it in 0.8.0?

Posted at Nginx Forum:

> **[Re: problem with compilation on solaris 10u5](https://forum.nginx.org/read.php?2,2577,2614#msg-2614)**
>
> hello, i have problem with compilation of nginx-0.7.59 on solaris 10u5. i got stuck on this: Undefined first referenced symbol in file timer\_create objs/src/event/module

---

<div class="post-metadata">

**Author:** ![Radovan\_PSSSStec](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9de0a6/32.png) [@Radovan\_PSSSStec](https://www.ruby-forum.com/u/Radovan_PSSSStec)\
**Post date:** [June 4, 2009, 9:29am UTC](https://www.ruby-forum.com/t/problem-with-compilation-on-solaris-10u5/169376/5 "2009-06-04T09:29:30Z")

</div>

On Wed, Jun 03, 2009 at 10:03:19AM -0400, toomasp wrote:

> What patch are you talking about? ..and why isn’t it in 0.8.0?

[http://forum.nginx.org/file.php?2,file=52,filename=patch.0.7.59.1,download=1](http://forum.nginx.org/file.php?2,file=52,filename=patch.0.7.59.1,download=1)

It will be available in 0.8.1 and 0.7.60.
