Permalink
Browse files

remember .so extension in README files

  • Loading branch information...
1 parent 597fd7e commit 9386a1baf4d1b0452b7442f9510ecde257b11bc0 @richcarl richcarl committed with Eric Merritt Jul 25, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 chapter_12/nifs/json_parser/README
  2. +1 −1 chapter_12/port_driver/json_parser/README
@@ -4,7 +4,7 @@ erlc -o ./ebin ./src/*.erl
To build the C code using gcc, run the following:
-gcc -o ./priv/jp_nifs -fpic -shared -I${OTPROOT}/erts-5.7.5/include -I${OTPROOT}/lib/erl_interface-3.6.5/include -I${YAJLROOT}/include -L${OTPROOT}/lib/erl_interface-3.6.5/lib -L${YAJLROOT}/lib ./c_src/jp_nifs.c -lyajl
+gcc -o ./priv/jp_nifs.so -fpic -shared -I${OTPROOT}/erts-5.7.5/include -I${OTPROOT}/lib/erl_interface-3.6.5/include -I${YAJLROOT}/include -L${OTPROOT}/lib/erl_interface-3.6.5/lib -L${YAJLROOT}/lib ./c_src/jp_nifs.c -lyajl
OTPROOT is typically /usr/lib/erlang. Check what your versions of erts and
erl_interface are and that the include and lib directories exist and contain
@@ -4,7 +4,7 @@ erlc -o ./ebin ./src/*.erl
To build the C code using gcc, run the following:
-gcc -o ./priv/jp_driver -fpic -shared -I${OTPROOT}/erts-5.7.5/include -I${OTPROOT}/lib/erl_interface-3.6.5/include -I${YAJLROOT}/include -L${OTPROOT}/lib/erl_interface-3.6.5/lib -L${YAJLROOT}/lib ./c_src/jp_driver.c -lei_st -lyajl
+gcc -o ./priv/jp_driver.so -fpic -shared -I${OTPROOT}/erts-5.7.5/include -I${OTPROOT}/lib/erl_interface-3.6.5/include -I${YAJLROOT}/include -L${OTPROOT}/lib/erl_interface-3.6.5/lib -L${YAJLROOT}/lib ./c_src/jp_driver.c -lei_st -lyajl
OTPROOT is typically /usr/lib/erlang. Check what your versions of erts and
erl_interface are and that the include and lib directories exist and contain

0 comments on commit 9386a1b

Please sign in to comment.