mikejs / gomongo

Go driver for MongoDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

conflicting definitions for "os".File

kimlundgren opened this issue · comments

My project isn't building after updating to 7188 release.2011-01-20:

6l: conflicting definitions for "os".File
/usr/local/share/go/pkg/linux_amd64/net.a(_go_.6):  type "os".File struct { fd int; name string; dirinfo *"os".dirInfo; nepipe int }
    func (f *"os".File) Chdir () "os".Error
    func (f *"os".File) Chmod (mode uint32) "os".Error
    func (f *"os".File) Chown (uid int, gid int) "os".Error
    func (file *"os".File) Close () "os".Error
    func (file *"os".File) Fd () int
    func (file *"os".File) Name () string
    func (file *"os".File) Read (b []uint8) (n int, err "os".Error)
    func (file *"os".File) ReadAt (b []uint8, off int64) (n int, err "os".Error)
    func (file *"os".File) Readdir (count int) (fi []"os".FileInfo, err "os".Error)
    func (file *"os".File) Readdirnames (count int) (names []string, err "os".Error)
    func (file *"os".File) Seek (offset int64, whence int) (ret int64, err "os".Error)
    func (file *"os".File) Stat () (fi *"os".FileInfo, err "os".Error)
    func (file *"os".File) Sync () "os".Error
    func (f *"os".File) Truncate (size int64) "os".Error
    func (file *"os".File) Write (b []uint8) (n int, err "os".Error)
    func (file *"os".File) WriteAt (b []uint8, off int64) (n int, err "os".Error)
    func (file *"os".File) WriteString (s string) (ret int, err "os".Error)
/usr/local/share/go/pkg/linux_amd64/github.com/mikejs/gomongo/mongo.a(_go_.6):  type "os".File struct { fd int; name string; dirinfo *"os".dirInfo; nepipe int }
    func (f *"os".File) Chdir () "os".Error
    func (f *"os".File) Chmod (mode uint32) "os".Error
    func (f *"os".File) Chown (uid int, gid int) "os".Error
    func (file *"os".File) Close () "os".Error
    func (file *"os".File) Fd () int
    func (file *"os".File) Name () string
    func (file *"os".File) Read (b []uint8) (n int, err "os".Error)
    func (file *"os".File) ReadAt (b []uint8, off int64) (n int, err "os".Error)
    func (file *"os".File) Readdir (count int) (fi []"os".FileInfo, err "os".Error)
    func (file *"os".File) Readdirnames (count int) (names []string, err "os".Error)
    func (file *"os".File) Seek (offset int64, whence int) (ret int64, err "os".Error)
    func (file *"os".File) Stat () (fi *"os".FileInfo, err "os".Error)
    func (f *"os".File) Truncate (size int64) "os".Error
    func (file *"os".File) Write (b []uint8) (n int, err "os".Error)
    func (file *"os".File) WriteAt (b []uint8, off int64) (n int, err "os".Error)
    func (file *"os".File) WriteString (s string) (ret int, err "os".Error)

I'm not sure why I was getting this error, but I wiped the package and rebuilt, and the error is gone.