Undefined Symbol: PHALCON_CONCAT_VSV

15 views
Skip to first unread message

Jason Rice

unread,
Oct 29, 2012, 10:44:34 PM10/29/12
to phalcon-...@googlegroups.com
I am getting the following error when I run a test php script:

php: symbol lookup error: /usr/lib/php5/20090626/phalcon.so: undefined symbol: PHALCON_CONCAT_VSV


Here is the specific instance where I try to use it:

PHALCON_CONCAT_VSV(namespaced_controller, camelized_namespace, "\\", camelized_controller);

I grep the code and see it used this way all over the place. What could I be doing wrong?

Thanks,

Jason

Andres-Gutierrez

unread,
Oct 29, 2012, 10:55:51 PM10/29/12
to Jason Rice, phalcon-...@googlegroups.com
I think that macro isn't defined in kernel/concat.h, that macro and its related function can be added to concat.h/concat.c

2012/10/29 Jason Rice <ricej...@gmail.com>

--
 
 



--
Andrés Felipe Gutiérrez Mendoza
Ingeniero de Desarrollo y Tecnología
BH-TECK Inc.
andres.g...@bhteck.com
www.bhteck.com




Andres-Gutierrez

unread,
Oct 29, 2012, 10:58:55 PM10/29/12
to Jason Rice, phalcon-...@googlegroups.com
that macro is already defined: https://github.com/phalcon/cphalcon/blob/0.6.0/ext/kernel/concat.h#L65, did you include the header?

2012/10/29 Andres-Gutierrez <andres.g...@phalconphp.com>
Reply all
Reply to author
Forward
0 new messages