[email protected]:~# geth attach
instance: Geth/v1.1.2/linux/go1.5
datadir: /root/.ethereum
coinbase: 0xafd700742a02ed011e80fcbc97884c58e04476f6
at block: 116521 (Thu, 20 Aug 2015 20:58:46 CST)
modules: admin:1.0 db:1.0 debug:1.0 eth:1.0 miner:1.0 net:1.0 personal:1.0 shh:1.0 txpool:1.0 web3:1.0
> eth.getCompilers()
["Solidity"]
> var a="wwww"
undefined
> eth.compile.solidity(a)
solc error: missing code output
at InvalidResponse (:-81076:-24)
at send (:-154580:-24)
at solidity (:-131712:-24)
at :1:1
who know this code in source ? please explain it to me
search “solc error: missing code output” in github can get the source code.
Comments
Another option is to install the 0.1.1 version of solc.
The fix is merged to the develop branch, so you can just use that with the latest solc.
Otherwise downgrade your solc to 0.1.1 or earlier.
And of course you can always use solc or the webcompiler and just use geth console to deploy.