{"action":"created","issue":{"url":"https://api.github.com/repos/axboe/fio/issues/107","labels_url":"https://api.github.com/repos/axboe/fio/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/axboe/fio/issues/107/comments","events_url":"https://api.github.com/repos/axboe/fio/issues/107/events","html_url":"https://github.com/axboe/fio/issues/107","id":101490200,"number":107,"title":"compile issue of 2.2.9 on SLES 11.4 \"storage size of ‘ops’ isn’t known\"","user":{"login":"rustyscottweber","id":4672283,"avatar_url":"https://avatars.githubusercontent.com/u/4672283?v=3","gravatar_id":"","url":"https://api.github.com/users/rustyscottweber","html_url":"https://github.com/rustyscottweber","followers_url":"https://api.github.com/users/rustyscottweber/followers","following_url":"https://api.github.com/users/rustyscottweber/following{/other_user}","gists_url":"https://api.github.com/users/rustyscottweber/gists{/gist_id}","starred_url":"https://api.github.com/users/rustyscottweber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rustyscottweber/subscriptions","organizations_url":"https://api.github.com/users/rustyscottweber/orgs","repos_url":"https://api.github.com/users/rustyscottweber/repos","events_url":"https://api.github.com/users/rustyscottweber/events{/privacy}","received_events_url":"https://api.github.com/users/rustyscottweber/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-17T19:10:58Z","updated_at":"2015-08-17T21:48:36Z","closed_at":"2015-08-17T21:48:36Z","body":"<pre><code>\r\nfio-app:/tmp/fio-fio-2.2.9 # make\r\n    CC gettime.o\r\ngettime.c: In function ‘fio_monotonic_clocktest’:\r\ngettime.c:566: warning: ‘prev’ may be used uninitialized in this function\r\n    CC ioengines.o\r\n    CC stat.o\r\n    CC log.o\r\n    CC time.o\r\n    CC filesetup.o\r\n    CC eta.o\r\n    CC verify.o\r\n    CC memory.o\r\n    CC io_u.o\r\n    CC parse.o\r\n    CC mutex.o\r\n    CC options.o\r\n    CC lib/rbtree.o\r\n    CC smalloc.o\r\n    CC filehash.o\r\n    CC profile.o\r\n    CC debug.o\r\n    CC lib/rand.o\r\n    CC lib/num2str.o\r\n    CC lib/ieee754.o\r\n    CC crc/crc16.o\r\n    CC crc/crc32.o\r\n    CC crc/crc32c-intel.o\r\n    CC crc/crc32c.o\r\n    CC crc/crc64.o\r\n    CC crc/crc7.o\r\n    CC crc/fnv.o\r\n    CC crc/md5.o\r\n    CC crc/murmur3.o\r\n    CC crc/sha1.o\r\n    CC crc/sha256.o\r\n    CC crc/sha512.o\r\n    CC crc/test.o\r\n    CC crc/xxhash.o\r\n    CC engines/cpu.o\r\n    CC engines/mmap.o\r\n    CC engines/sync.o\r\n    CC engines/null.o\r\n    CC engines/net.o\r\n    CC memalign.o\r\n    CC server.o\r\n    CC client.o\r\n    CC iolog.o\r\n    CC backend.o\r\n    CC libfio.o\r\n    CC flow.o\r\n    CC cconv.o\r\n    CC lib/prio_tree.o\r\n    CC json.o\r\n    CC lib/zipf.o\r\n    CC lib/axmap.o\r\n    CC lib/lfsr.o\r\n    CC gettime-thread.o\r\n    CC helpers.o\r\n    CC lib/flist_sort.o\r\n    CC lib/hweight.o\r\n    CC lib/getrusage.o\r\n    CC idletime.o\r\n    CC td_error.o\r\n    CC profiles/tiobench.o\r\n    CC profiles/act.o\r\n    CC io_u_queue.o\r\n    CC filelock.o\r\n    CC lib/tp.o\r\n    CC lib/bloom.o\r\n    CC lib/gauss.o\r\n    CC lib/mountcheck.o\r\n    CC workqueue.o\r\n    CC engines/libaio.o\r\n    CC engines/posixaio.o\r\n    CC engines/falloc.o\r\n    CC engines/e4defrag.o\r\n    CC engines/splice.o\r\n    CC engines/mtd.o\r\n    CC lib/libmtd.o\r\nlib/libmtd.c: In function ‘mtd_write’:\r\nlib/libmtd.c:1129: error: storage size of ‘ops’ isn’t known\r\nlib/libmtd.c:1165: error: ‘MEMWRITE’ undeclared (first use in this function)\r\nlib/libmtd.c:1165: error: (Each undeclared identifier is reported only once\r\nlib/libmtd.c:1165: error: for each function it appears in.)\r\nlib/libmtd.c:1172: error: ‘MTD_OPS_AUTO_OOB’ undeclared (first use in this function)\r\nlib/libmtd.c:1129: warning: unused variable ‘ops’\r\nmake: *** [lib/libmtd.o] Error 1\r\n</code></pre>\r\n\r\nNormally this error is indicative of the struct type not existing, in this case mtd_write_req.  To perpetuate my hypothesis even further, I cannot find the struct type anywhere in the fio-project.  Is this provided by another source module?  or is this just missing implementation?"},"comment":{"url":"https://api.github.com/repos/axboe/fio/issues/comments/131973230","html_url":"https://github.com/axboe/fio/issues/107#issuecomment-131973230","issue_url":"https://api.github.com/repos/axboe/fio/issues/107","id":131973230,"user":{"login":"axboe","id":2619634,"avatar_url":"https://avatars.githubusercontent.com/u/2619634?v=3","gravatar_id":"","url":"https://api.github.com/users/axboe","html_url":"https://github.com/axboe","followers_url":"https://api.github.com/users/axboe/followers","following_url":"https://api.github.com/users/axboe/following{/other_user}","gists_url":"https://api.github.com/users/axboe/gists{/gist_id}","starred_url":"https://api.github.com/users/axboe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axboe/subscriptions","organizations_url":"https://api.github.com/users/axboe/orgs","repos_url":"https://api.github.com/users/axboe/repos","events_url":"https://api.github.com/users/axboe/events{/privacy}","received_events_url":"https://api.github.com/users/axboe/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T21:48:35Z","updated_at":"2015-08-17T21:48:35Z","body":"Should be fixed in current -git, please retry and report."}}