Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build on ubuntu #8

Closed
jbr opened this issue May 26, 2010 · 2 comments
Closed

Cannot build on ubuntu #8

jbr opened this issue May 26, 2010 · 2 comments

Comments

@jbr
Copy link

jbr commented May 26, 2010

See http://github.com/polotek/libxmljs/commit/83c0cf9cd5e21a284beffd675888f1ca09f5982d#L0R30 and http://gist.github.com/413935 -- "src/xml_element.cc:30: error: 'strdup' was not declared in this scope."

@jbr
Copy link
Author

jbr commented May 26, 2010

Changing src/libxmljs.h:17 from to <string.h> resolved the issue. Thanks!

@polotek
Copy link
Collaborator

polotek commented May 26, 2010

Pushed the string.h fix. Thanks.

kbiedrzycki pushed a commit to kbiedrzycki/libxmljs that referenced this issue May 14, 2018
This fixes libxmljs#8 caused by a call to `memFree(NULL)`.  The debug memory
functions of libxml itself handle NULL pointers in a similar fashion.
sluukkonen pushed a commit to sluukkonen/libxmljs that referenced this issue Dec 16, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants