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

Fail to make the project #1

Closed
litterbear opened this issue Mar 6, 2016 · 2 comments
Closed

Fail to make the project #1

litterbear opened this issue Mar 6, 2016 · 2 comments

Comments

@litterbear
Copy link

[23:41:18]root@devstack:~/gsoc/httpdump# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:        14.04
Codename:       trusty

[23:41:44]root@devstack:~/gsoc/httpdump# go version
go version go1.4.2 linux/amd64

I install gb by go get github.com/constabulary/gb/...

I fail to make the project

[23:43:13]root@devstack:~/gsoc/httpdump# make
gb build -ldflags " \
                -X main.version=0.1.0 \
                -X main.buildDate='2016-03-06' \
                "
usage: 6l [options] main.6
  -1    use alternate profiling code
  -8    assume 64-bit addresses
  -B info
        define ELF NT_GNU_BUILD_ID note
  -C    check Go calls to C code
  -D addr
        data address
  -E sym
        entry symbol
  -I interp
        set ELF interp
  -L dir
        add dir to library path
  -H head
        header type
  -K    add stack underflow checks
  -O    print pc-line tables
  -Q    debug byte-register code gen
  -R rnd
        address rounding
  -S    check type signatures
  -T addr
        text address
  -V    print version and exit
  -W    disassemble input
  -X name value
        define string data
  -Z    clear stack frame on entry
  -a    disassemble output
  -c    dump call graph
  -d    disable dynamic executable
  -extld ld
        linker to run in external mode
  -extldflags ldflags
        flags for external linker
  -f    ignore version mismatch
  -g    disable go package data checks
  -installsuffix suffix
        pkg directory suffix
  -k sym
        set field tracking symbol
  -linkmode mode
        set link mode (internal, external, auto)
  -n    dump symbol table
  -o outfile
        set output file
  -r dir1:dir2:...
        set ELF dynamic linker search path
  -race
        enable race detector
  -s    disable symbol table
  -shared
        generate shared object (implies -linkmode external)
  -tmpdir dir
        leave temporary files in this directory
  -u    reject unsafe packages
  -v    print link trace
  -w    disable DWARF generation
# httpdump
httpdump
FATAL: command "build" failed: exit status 1
make: *** [httpdump] Error 1
@falzm
Copy link
Owner

falzm commented Mar 6, 2016

Hi

This might have to do with the Go version that you use: could you upgrade to 1.5 or 1.6? Alternatively, you can use the pre-compiled versions.

@litterbear
Copy link
Author

Thanks :)
The pre-compiled versions work!

@falzm falzm closed this as completed Mar 7, 2016
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