Created
May 29, 2009 17:50
-
-
Save ngerakines/120094 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| nick-gerakiness-macbook-pro:baberl ngerakines$ mkdir ebin | |
| nick-gerakiness-macbook-pro:baberl ngerakines$ make | |
| (cd c;make) | |
| make[1]: Nothing to be done for `all'. | |
| (cd erl;make) | |
| erlc -W -I../include -o ../ebin baberl_generator.erl | |
| erl -pz ../ebin -noshell -eval "baberl_generator:generate_header(\"../include/baberl.hrl\")" -s init stop | |
| rm -f ../ebin/baberl_generator.beam | |
| erl -make | |
| Recompile: baberl_sup | |
| Recompile: baberl_stress | |
| Recompile: baberl_generator | |
| Recompile: baberl_driver | |
| ./baberl_driver.erl:25: can't find include file "baberl.hrl" | |
| ./baberl_driver.erl:37: undefined macro ''SUPPORTED_ENCODINGS'' | |
| ./baberl_driver.erl:40: undefined macro ''SUPPORTED_ENCODINGS'' | |
| ./baberl_driver.erl:78: undefined macro ''SUPPORTED_ENCODINGS'' | |
| ./baberl_driver.erl:27: function encodings/0 undefined | |
| ./baberl_driver.erl:27: function is_encoding_supported/1 undefined | |
| ./baberl_driver.erl:45: function check_encodings/1 undefined | |
| cp baberl.app ../ebin | |
| (cd t;erl -make) | |
| Recompile: baberl_t_003 | |
| Recompile: baberl_t_002 | |
| Recompile: baberl_t_001 | |
| prove t/*.t | |
| t/baberl_t_001.... Failed 2/2 subtests | |
| t/baberl_t_002.... Dubious, test returned 127 (wstat 32512, 0x7f00) | |
| Failed 1/1 subtests | |
| t/baberl_t_003.... Dubious, test returned 127 (wstat 32512, 0x7f00) | |
| Failed 1/1 subtests | |
| Test Summary Report | |
| ------------------- | |
| t/baberl_t_001 (Wstat: 0 Tests: 2 Failed: 2) | |
| Failed tests: 1-2 | |
| t/baberl_t_002 (Wstat: 32512 Tests: 1 Failed: 1) | |
| Failed test: 1 | |
| Non-zero exit status: 127 | |
| Parse errors: No plan found in TAP output | |
| t/baberl_t_003 (Wstat: 32512 Tests: 1 Failed: 1) | |
| Failed test: 1 | |
| Non-zero exit status: 127 | |
| Parse errors: No plan found in TAP output | |
| Files=3, Tests=4, 1 wallclock secs ( 0.04 usr 0.02 sys + 0.48 cusr 0.18 csys = 0.72 CPU) | |
| Result: FAIL | |
| make: *** [test] Error 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1> application:start(baberl). | |
| {error,{shutdown,{baberl_app,start,[normal,[]]}}} | |
| 2> | |
| =CRASH REPORT==== 29-May-2009::11:01:09 === | |
| crasher: | |
| initial call: baberl:init/1 | |
| pid: <0.48.0> | |
| registered_name: [] | |
| exception exit: {{badmatch,{error,{open_error,-10}}}, | |
| [{baberl,init,1}, | |
| {gen_server,init_it,6}, | |
| {proc_lib,init_p_do_apply,3}]} | |
| in function gen_server:init_it/6 | |
| ancestors: [baberl_sup,<0.46.0>] | |
| messages: [] | |
| links: [<0.47.0>] | |
| dictionary: [] | |
| trap_exit: true | |
| status: running | |
| heap_size: 377 | |
| stack_size: 24 | |
| reductions: 473 | |
| neighbours: | |
| =SUPERVISOR REPORT==== 29-May-2009::11:01:09 === | |
| Supervisor: {local,baberl_sup} | |
| Context: start_error | |
| Reason: {{badmatch,{error,{open_error,-10}}}, | |
| [{baberl,init,1}, | |
| {gen_server,init_it,6}, | |
| {proc_lib,init_p_do_apply,3}]} | |
| Offender: [{pid,undefined}, | |
| {name,baberl}, | |
| {mfa,{baberl,start_link,[]}}, | |
| {restart_type,permanent}, | |
| {shutdown,2000}, | |
| {child_type,worker}] | |
| =INFO REPORT==== 29-May-2009::11:01:09 === | |
| application: baberl | |
| exited: {shutdown,{baberl_app,start,[normal,[]]}} | |
| type: temporary |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SHELL = /bin/sh | |
| top_srcdir = .. | |
| srcdir = . | |
| prefix = /usr/local | |
| exec_prefix = ${prefix} | |
| bindir = $(exec_prefix)/bin | |
| infodir = $(prefix)/info | |
| libdir = $(prefix)/lib/gnudl | |
| mandir = $(prefix)/man/man1 | |
| CFLAGS = $(CPPFLAGS) -g -O2 | |
| LDFLAGS_COMMON = -liconv | |
| ifeq ($(shell uname),Linux) | |
| ARCH = linux | |
| LDFLAGS = $(LDFLAGS_COMMON) -shared | |
| else | |
| ARCH = macosx | |
| LDFLAGS = $(LDFLAGS_COMMON) -dynamic -bundle -undefined suppress -flat_namespace | |
| endif | |
| CC = gcc | |
| CPPFLAGS = -I /usr/local/lib/erlang/erts-5.7.1/include -I /usr/local/lib/erlang/lib/erl_interface-3.6.1/include -Wall -fPIC -I./ | |
| LIBS = | |
| PACKAGE_NAME = basic_driver | |
| PACKAGE_VERSION = 0.0.1 | |
| OUTPUTFILES := $(patsubst %_drv.c, ../priv/%_drv.so, $(wildcard *_drv.c)) | |
| DEFS = -DHAVE_CONFIG_H | |
| ERLDIR = /usr/local/lib/erlang | |
| all: $(OUTPUTFILES) | |
| debug: | |
| $(MAKE) DEBUG=-DDEBUG | |
| .SUFFIXES: .o .c .h | |
| ../priv/%_drv.so: %_drv.o drv_util.o | |
| mkdir -p ../priv | |
| $(CC) $(CFLAGS) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $^ /usr/local/lib/erlang/lib/erl_interface-3.6.1/lib/libei.a | |
| .c.o: | |
| $(CC) $(CFLAGS) $(DEFS) $(DEBUG) -c $< | |
| clean: | |
| rm -rf *.o *.a $(OUTPUTFILES) | |
| rm -f *flymake* | |
| install: | |
| install -d $(ERLDIR)/lib/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/priv | |
| cp -r `pwd`/../priv $(ERLDIR)/lib/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/ | |
| package: | |
| install -d `pwd`/../.pkgtmp/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/priv | |
| cp -r `pwd`/../priv/* `pwd`/../.pkgtmp/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/priv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| nick-gerakiness-macbook-pro:c ngerakines$ make | |
| gcc -I /usr/local/lib/erlang/erts-5.7.1/include -I /usr/local/lib/erlang/lib/erl_interface-3.6.1/include -Wall -fPIC -I./ -g -O2 -DHAVE_CONFIG_H -c baberl_drv.c | |
| baberl_drv.c: In function ‘process’: | |
| baberl_drv.c:96: warning: initialization makes integer from pointer without a cast | |
| gcc -I /usr/local/lib/erlang/erts-5.7.1/include -I /usr/local/lib/erlang/lib/erl_interface-3.6.1/include -Wall -fPIC -I./ -g -O2 -DHAVE_CONFIG_H -c drv_util.c | |
| mkdir -p ../priv | |
| gcc -I /usr/local/lib/erlang/erts-5.7.1/include -I /usr/local/lib/erlang/lib/erl_interface-3.6.1/include -Wall -fPIC -I./ -g -O2 -DHAVE_CONFIG_H -liconv -dynamic -bundle -undefined suppress -flat_namespace -o ../priv/baberl_drv.so baberl_drv.o drv_util.o /usr/local/lib/erlang/lib/erl_interface-3.6.1/lib/libei.a | |
| ld warning: in /usr/local/lib/erlang/lib/erl_interface-3.6.1/lib/libei.a, file is not of required architecture | |
| rm baberl_drv.o drv_util.o |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment